Permalink
Browse files

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

…(use sudo).
  • Loading branch information...
eseifert committed Sep 21, 2017
1 parent 6b53e82 commit 2f110c8fc4c324ffd1ef65dfd3a4cf5de1647a88
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -11,7 +11,7 @@ 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
- sudo sed -e '/export JAVA_HOME=/ s/^/#/' -i "/usr/bin/gradle" # Gradle must not overwrite JAVA_HOME
- gradle --version
before_script:

0 comments on commit 2f110c8

Please sign in to comment.