diff --git a/.travis.yml b/.travis.yml index 874e91730..95a719477 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,25 +14,13 @@ # limitations under the License. language: java -sudo: false -# Get latest install-jdk.sh script -before_install: - - wget -P ./target/ https://github.com/sormuras/bach/raw/master/install-jdk.sh - -matrix: - include: - - env: JDK_RELEASE='OracleJDK 8' - jdk: oraclejdk8 - - env: JDK_RELEASE='OracleJDK 9' - jdk: oraclejdk9 - - env: JDK_RELEASE='OracleJDK 10' - jdk: oraclejdk10 - - env: JDK_RELEASE='OpenJDK 10' - jdk: openjdk10 -# Java 11 "Oracle JDK" (not yet provided by Travis CI) - - env: JDK='Oracle JDK 11' - install: . ./target/install-jdk.sh -F 11 -L BCL +jdk: + - oraclejdk8 + - oraclejdk9 + - oraclejdk10 + - openjdk10 + - openjdk11 script: - mvn