Simplify TravisCI build.
language: java
-matrix:
- include:
- - jdk: oraclejdk9
- env: JDK='Oracle JDK 9'
- - env:
- - JDK='Oracle JDK 10'
- - NO_JACOCO='true'
- before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 10
- - env:
- - JDK='Oracle JDK 11'
- - NO_JACOCO='true'
- before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 11
- - env:
- - JDK='Oracle JDK 12'
- - NO_JACOCO='true'
- before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -F 12
-
cache:
directories:
- $HOME/.m2
@@ -30,5 +13,4 @@ services:
install: true
script:
- - "./mvnw -version"
- - "./mvnw clean dependency:list test -Pall-dbs${NO_JACOCO:+',no-jacoco'} -Dsort -U"
+ - "./mvnw clean dependency:list test -Pno-jacoco -Dsort -U"
