Use JDKs provided by travis
This commit is contained in:
parent
4d5c5a8afd
commit
8e507bd0b1
24
.travis.yml
24
.travis.yml
|
@ -14,25 +14,13 @@
|
|||
# limitations under the License.
|
||||
|
||||
language: java
|
||||
sudo: false
|
||||
|
||||
# Get latest install-jdk.sh script
|
||||
before_install:
|
||||
- wget -P ./target/ https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: JDK_RELEASE='OracleJDK 8'
|
||||
jdk: oraclejdk8
|
||||
- env: JDK_RELEASE='OracleJDK 9'
|
||||
jdk: oraclejdk9
|
||||
- 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: . ./target/install-jdk.sh -F 11 -L BCL
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
- oraclejdk9
|
||||
- oraclejdk10
|
||||
- openjdk10
|
||||
- openjdk11
|
||||
|
||||
script:
|
||||
- mvn
|
||||
|
|
Loading…
Reference in New Issue