From a7b06d6250e972fc14e14504c35042a84410a2e5 Mon Sep 17 00:00:00 2001 From: pascalschumacher Date: Fri, 4 May 2018 21:32:56 +0200 Subject: [PATCH] Travis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK" --- .travis.yml | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 497753789..9bbf26fbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,10 +16,27 @@ language: java sudo: false -jdk: - - openjdk7 - - oraclejdk8 - - oraclejdk9 +# 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='OpenJDK 7' + jdk: openjdk7 + - env: JDK_RELEASE='OracleJDK 8' + jdk: oraclejdk8 + - env: JDK_RELEASE='OracleJDK 9' + jdk: oraclejdk9 +# Java 10 "Oracle JDK" (not yet provided by Travis CI) + - env: JDK='Oracle JDK 10' + install: . ./target/install-jdk.sh -F 10 -L BCL +# Java 10 "OpenJDK" (not yet provided by Travis CI) + - env: JDK='OpenJDK 10' + install: . ./target/install-jdk.sh -F 10 -L GPL +# Java 11 "Oracle JDK" (not yet provided by Travis CI) + - env: JDK='Oracle JDK 11' + install: . ./target/install-jdk.sh -F 11 -L BCL script: - mvn