Skip coverage on Java 9.

pull/876/head
Brett Wooldridge 8 years ago
parent 27422aaecb
commit bceaa51560

@ -3,6 +3,7 @@ language: java
before_script:
- if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi
- if [[ "x$JDK" != *'x9'* ]]; then export COVERALLS=coveralls:report; fi
script:
- export JDK8_HOME=$(jdk_switcher home oraclejdk8)
@ -33,4 +34,4 @@ install: /bin/true
script:
- mvn package -Dskip.unit.tests=true -Dmaven.javadoc.skip=true -V -B
- mvn test coveralls:report -V -Dcoveralls
- mvn test $COVERALLS -V -Dcoveralls

@ -440,12 +440,6 @@
<profile>
<id>coverage</id>
<activation>
<jdk>1.8</jdk>
<property>
<name>coveralls</name>
</property>
</activation>
<build>
<plugins>
<plugin>

Loading…
Cancel
Save