Skip to content

Commit

Permalink
Attempt at upgrading openjdk7 in Travis to avoid build failures due t…
Browse files Browse the repository at this point in the history
…o keystore type
  • Loading branch information
tomakehurst committed Mar 16, 2019
1 parent 681833e commit 85760b7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ jdk:
- openjdk8

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 6.3.0
- JAVA_HOME=$(jdk_switcher home openjdk8) ./gradlew classes testClasses
- 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

script:
- $JAVA_HOME/bin/java -version
- java -version
- ./gradlew test --info --stacktrace --no-daemon
- ./gradlew check --info --stacktrace --no-daemon

0 comments on commit 85760b7

Please sign in to comment.