Skip to content

Commit

Permalink
Added missing sudo to package upgrade command in the Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Mar 16, 2019
1 parent 85760b7 commit 36c9e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jdk:
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8.12.0
- JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses -x generateApiDocs
- apt-get upgrade -y openjdk7
- sudo apt-get upgrade -y openjdk7

script:
- ./gradlew check --info --stacktrace --no-daemon
Expand Down

0 comments on commit 36c9e1c

Please sign in to comment.