bploetz / versionist

A plugin for versioning Rails based RESTful APIs.
MIT License
971 stars 51 forks source link

Update travis.yml to fix Bundler and Linux JDK7 support issues #91

Closed rocketbop closed 5 years ago

rocketbop commented 5 years ago

See discussion https://travis-ci.community/t/error-installing-oraclejdk8-expected-feature-release-number-in-range-of-9-to-14-but-got-8/3766

bploetz commented 5 years ago

Thanks @paublyrne but looks like it's still failing.

Installing oraclejdk7
$ export JAVA_HOME=~/oraclejdk7
$ export PATH="$JAVA_HOME/bin:$PATH"
$ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk7" --workspace "/home/travis/.cache/install-jdk" --feature "7" --license "BCL"
Ignoring license option: BCL -- using GPLv2+CE by default
install-jdk.sh 2019-07-17
Expected feature release number in range of 9 to 14, but got: 7
The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk7" --workspace "/home/travis/.cache/install-jdk" --feature "7" --license "BCL"" failed and exited with 3 during .
Your build has been stopped.
rocketbop commented 5 years ago

Right, probably easier to upgrade to jdk8