Use oraclejdk10 and openjdk10 provided by travis.
@@ -31,12 +31,10 @@ matrix:
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: . ./install-jdk.sh -F 10 -L BCL
-# Java 10 "OpenJDK" (not yet provided by Travis CI)
- - env: JDK='OpenJDK 10'
- install: . ./install-jdk.sh -F 10 -L GPL
+ - 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: . ./install-jdk.sh -F 11 -L BCL
