Add jdk 10 and 11 to .travis.yml

This commit is contained in:
Travis Burtrum 2018-04-19 01:11:48 -04:00
parent 2d74299adc
commit 916c97d66b

View File

@ -1,10 +1,28 @@
language: java language: java
jdk: sudo: false
- openjdk8
- oraclejdk8 matrix:
- oraclejdk9 include:
- env: JDK='OpenJDK 8'
jdk: openjdk8
- env: JDK='OracleJDK 8'
jdk: oraclejdk8
- env: JDK='OpenJDK 9'
install: . ./install-jdk.sh -F 9 -L GPL
- env: JDK='OracleJDK 9'
jdk: oraclejdk9
- env: JDK='OpenJDK 10'
install: . ./install-jdk.sh -F 10 -L GPL
- env: JDK='OracleJDK 10'
install: . ./install-jdk.sh -F 10 -L BCL
- env: JDK='OpenJDK 11'
install: . ./install-jdk.sh -F 11 -L GPL
- env: JDK='OracleJDK 11'
install: . ./install-jdk.sh -F 11 -L BCL
before_install: wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
after_success: after_success:
- if [[ "${TRAVIS_JDK_VERSION}" == 'openjdk8' ]]; then - if [[ "${JDK}" == 'OpenJDK 8' ]]; then
mvn deploy --settings .travis-settings.xml -DskipTests=true -B || travis_terminate 1; mvn deploy --settings .travis-settings.xml -DskipTests=true -B || travis_terminate 1;
fi fi