Skip to content

Commit

Permalink
Skip coverage on Java 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettwooldridge committed Apr 19, 2017
1 parent 27422aa commit bceaa51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,6 @@

<profile>
<id>coverage</id>
<activation>
<jdk>1.8</jdk>
<property>
<name>coveralls</name>
</property>
</activation>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit bceaa51

Please sign in to comment.