Add JDK10 to build matrix.
JDK10 Compatibility
@@ -18,7 +18,14 @@ language: java
#
jobs:
+ allow_failures:
+ - jdk: oraclejdk10
include:
+ - stage: build
+ if: branch != master OR type IN (pull_request)
+ jdk: oraclejdk10
+ script:
+ - mvn clean verify
- stage: build
if: branch != master OR type IN (pull_request)
jdk: oraclejdk9
@@ -29,6 +36,11 @@ jobs:
jdk: oraclejdk8
script:
- mvn clean verify
+ - stage: build
+ if: branch = master AND type IN (push)
+ jdk: oraclejdk10
+ script:
+ - mvn clean verify
- stage: build
if: branch = master AND type IN (push)
jdk: oraclejdk9
