Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI error regarding JDK version #427

Open
TonyGravagno opened this issue Jan 25, 2020 · 1 comment
Open

Travis CI error regarding JDK version #427

TonyGravagno opened this issue Jan 25, 2020 · 1 comment

Comments

@TonyGravagno
Copy link
Collaborator

Ref: https://travis-ci.org/walterhiggins/ScriptCraft/builds/641863564
Build error is:

Expected feature release number in range of 9 to 15, but got: 8

Ref:
https://changelog.travis-ci.com/xenial-as-the-default-build-environment-99476

Xenial as the default build environment (9 months ago)
As announced two weeks ago, we've started incrementally updating the default build environment to Ubuntu Xenial 16.04.
Right now, 5% of the repositories building that do not explicitly specify an Operating System, os: key, or an Ubuntu Linux distribution, via the dist: key are now being routed to Ubuntu Xenial 16.04 instead of Ubuntu Trusty 14.04.
We'll continue increasing the percentage of repositories using the new default throughout the next few weeks and posting updates here as we move forward.
To test how Xenial will work for you, please specify it directly with
dist: xenial.
Make sure to bring any questions you might have to the Travis CI Community Forum: Xenial.
If you'd like to stay on Trusty, that's also an option, you can pin your repository to continue using Ubuntu Trusty 14.04, by specifing dist: trusty in your .travis.yml file.

As directed by the Travis CI team, I'm going to change the .travis.yml file, first to use Xenial, and if that doesn't work, I'll bump the JDK to v9.

TonyGravagno added a commit that referenced this issue Jan 25, 2020
Change to support all subsequent updates
TonyGravagno added a commit that referenced this issue Jan 25, 2020
Looking back it looks like the last Travis build Was run over Xenial. Bumping the OpenJDK version to v9.
@TonyGravagno
Copy link
Collaborator Author

Ref build https://travis-ci.org/walterhiggins/ScriptCraft/builds/641867679
This one completed successfully after .travis.yml was set to use OpenJDK9.
When building ScriptCraft we can still use v8, this change was only made for the Travis CI.
Though we should always use the latest stable JDK and JRE.

Leaving open for @walterhiggins to view and close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant