Skip to content

Commit

Permalink
CI: Worked around Ubuntu's gradle installation overwriting JAVA_HOME …
Browse files Browse the repository at this point in the history
…(use sudo).
  • Loading branch information
eseifert committed Sep 21, 2017
1 parent 6b53e82 commit 2f110c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -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:
Expand Down

0 comments on commit 2f110c8

Please sign in to comment.