HHH-13415 Run Travis tests on JDK11 too

Use OpenJDK 11.0.3 instead of OracleJDK 11.0.2 in the Travis build,
because 11.0.2 just fails because of a bug in javadoc generation.
This commit is contained in:
Yoann Rodière 2019-05-24 10:27:34 +02:00 committed by Guillaume Smet
parent f2eeb0aed1
commit 5f5e029941
1 changed files with 11 additions and 3 deletions

View File

@ -1,9 +1,17 @@
dist: trusty dist: trusty
language: java language: java
jdk: jobs:
- oraclejdk8 include:
install: - stage: Oracle JDK 8
jdk: oraclejdk8
- stage: AdoptOpenJDK 11.0.3
install:
- curl -L -o install-jdk.sh https://github.com/sormuras/bach/raw/master/install-jdk.sh
- source ./install-jdk.sh --target ./openjdk11 --url https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.3_7.tar.gz
before_script:
- java -version
- ./gradlew assemble - ./gradlew assemble
script: script:
- travis_wait 45 ./gradlew check - travis_wait 45 ./gradlew check