Permalink
Browse files

CI: Worked around Ubuntu's gradle installation overwriting JAVA_HOME.

  • Loading branch information...
eseifert committed Sep 21, 2017
1 parent a8f5132 commit 6b53e826f6aee43ae52149068418168e51faebcb
Showing with 2 additions and 1 deletion.
  1. +2 −1 .travis.yml
View
@@ -11,12 +11,13 @@ before_install:
- sudo apt-get update -q
- sudo apt-get install gradle -y
- export PATH=/usr/bin:$PATH # Use gradle from /usr/bin
- sed -e '/export JAVA_HOME=/ s/^/#/' -i "/usr/bin/gradle" # Gradle must not overwrite JAVA_HOME
- gradle --version
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- sleep 3 # Give xvfb some time to start
notifications:
irc:

0 comments on commit 6b53e82

Please sign in to comment.