Travis: Add Java 10 "Oracle JDK", Java 10 "OpenJDK", Java 11 "Oracle JDK"

This commit is contained in:
pascalschumacher 2018-05-04 21:32:56 +02:00
parent 5fa073a5ca
commit a7b06d6250
1 changed files with 21 additions and 4 deletions

View File

@ -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