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

Switch to openjdk for Travis checks. #305

Merged
merged 1 commit into from
May 31, 2019

Commits on May 31, 2019

  1. Switch to openjdk for Travis checks.

    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
    zvezdan committed May 31, 2019
    Configuration menu
    Copy the full SHA
    e2f6609 View commit details
    Browse the repository at this point in the history