It seems oraclejdk10 support is having a problem. I received the following output with the oraclejdk10 build of my project, but the other builds (oraclejdk8-9 and openjdk8-10) all work fine.
Network availability confirmed.
Setting APT mirror in /etc/apt/sources.list: http://archive.ubuntu.com/ubuntu/
$ export JAVA_HOME=${TRAVIS_HOME}/oraclejdk10
$ bash install-jdk.sh -F 10 -L BCL --target $JAVA_HOME --workspace ${TRAVIS_HOME}/.cache/install-jdk
install-jdk.sh 2018-10-16
Variables:
feature = 10
license = BCL
os = linux-x64
url = http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz
status = 302
archive = /home/travis/.cache/install-jdk/jdk-10.0.2_linux-x64_bin.tar.gz
Downloading JDK from http://download.oracle.com/otn-pub/java/jdk/10.0.2+13/19aef61b38124481863b1413dce1855f/jdk-10.0.2_linux-x64_bin.tar.gz...
The command "bash install-jdk.sh -F 10 -L BCL --target $JAVA_HOME --workspace ${TRAVIS_HOME}/.cache/install-jdk" failed and exited with 8 during .