travis: add config for JDK 9 & 10
see travis-ci/travis-build#1347
@@ -39,14 +39,21 @@ script:
jobs:
fast_finish: true
allow_failures:
- - jdk: oraclejdk9
+ - jdk: openjdk9
env: MAVEN_OPTS="$MAVEN_OPTS -Dmaven.compiler.source=9 -Dmaven.compiler.target=9"
+ - jdk: openjdk10
+ env: MAVEN_OPTS="$MAVEN_OPTS -Dmaven.compiler.source=10 -Dmaven.compiler.target=10"
include:
- jdk: openjdk8
- jdk: oraclejdk8
+ - jdk: openjdk9
- jdk: oraclejdk9
- - jdk: oraclejdk9
+ - jdk: openjdk10
+ - jdk: oraclejdk10
+ - jdk: openjdk9
env: MAVEN_OPTS="$MAVEN_OPTS -Dmaven.compiler.source=9 -Dmaven.compiler.target=9"
+ - jdk: openjdk10
+ env: MAVEN_OPTS="$MAVEN_OPTS -Dmaven.compiler.source=10 -Dmaven.compiler.target=10"
- stage: coverage
jdk: openjdk8 # use openjdk8 build
script:
