Switch to openjdk for Travis checks.#305
Merged
zvezdan merged 1 commit intolinkedin:masterfrom May 31, 2019
Merged
Conversation
Travis started switching to Ubuntu 16.04 (Xenial) from 14.04 (Trusty) for all builds. The Oracle JDK does not come pre-installed any more and is causing the issue during install: ``` Installing oraclejdk8 $ export JAVA_HOME=~/oraclejdk8 $ export PATH="$JAVA_HOME/bin:$PATH" $ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL" install-jdk.sh 2019-05-02 Expected feature release number in range of 9 to 13, but got: 8 The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during . Your build has been stopped. ``` One option is to set `dist: trusty` but that's an EOL distro at this point. Switching to openjdk feels safer choice at this point. References: * https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment * https://travis-ci.community/t/install-of-oracle-jdk-8-failing/3038
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Travis started switching to Ubuntu 16.04 (Xenial) from 14.04 (Trusty)
for all builds. The Oracle JDK does not come pre-installed any more and
is causing the issue during install:
One option is to set
dist: trustybut that's an EOL distro at thispoint. Switching to openjdk feels safer choice at this point.
References: