exasol/hadoop-etl-udfs

Fix travis oraclejdk8 build issue

morazow opened this issue · 0 comments

Recently Travis CI changed default operating system distribution to Ubuntu Xenial Xerus (16.04 LTS). This takes affect if the dist: is not specified in the .travis.yml file. However, in xenial, the oraclejdk8 JVM is not pre-installed.

Travis build error:

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"
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: 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.

Acceptance Criteria

  • Build should be able to use both oraclejdk8 and openjdk8, use dist: trusty
  • Simplify the build matrix

References