sudo: true
language: java
matrix:
  include:
    - jdk: oraclejdk8
      env: MVN_PROFILE=jdk8
    - jdk: openjdk9
      env: MVN_PROFILE=jdk10
    - jdk: openjdk11
      env: MVN_PROFILE=jdk11
script: "mvn install -P ${MVN_PROFILE}"

# Fix OpenJDK build. Issue: https://github.com/travis-ci/travis-ci/issues/5227 
addons:
  hostname: short-hostname

sudo: true
language: java
matrix:
  include:
    - jdk: oraclejdk8
      env: MVN_PROFILE=jdk8
    - jdk: openjdk10
      env: MVN_PROFILE=jdk10
    - jdk: openjdk11
      env: MVN_PROFILE=jdk11
script: "mvn install -P ${MVN_PROFILE}"

# Fix OpenJDK build. Issue: https://github.com/travis-ci/travis-ci/issues/5227 
addons:
  hostname: short-hostname

Replace jdk 9 with 10. Looks like 9 isn't supported on Travis-CI.
Replace jdk 9 with 10. Looks like 9 isn't supported on Travis-CI.

Derp.
