You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2021/03/07 11:21:46 UTC

[commons-compress] branch master updated: try dealing with Jacoco not working for Java 16+ right now

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new 2841f2d  try dealing with Jacoco not working for Java 16+ right now
2841f2d is described below

commit 2841f2d76394085fe32474384df704b5d571acad
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Sun Mar 7 12:21:11 2021 +0100

    try dealing with Jacoco not working for Java 16+ right now
---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2dae503..b913bc8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -51,7 +51,8 @@ matrix:
 #        - $JAVA_HOME/bin/java -version
 
 script:
-  - mvn -V --no-transfer-progress
+  - test "openjdk-ea" != "${TRAVIS_JDK_VERSION}" || mvn -V --no-transfer-progress
+  - test "openjdk-ea" == "${TRAVIS_JDK_VERSION}" || mvn -V --no-transfer-progress -P!jacoco
  
 after_success:
-  - mvn -V --no-transfer-progress clean test jacoco:report coveralls:report -Ptravis-jacoco javadoc:javadoc -Ddoclint=all
+  - test "openjdk-ea" != "${TRAVIS_JDK_VERSION}" || mvn -V --no-transfer-progress clean test jacoco:report coveralls:report -Ptravis-jacoco javadoc:javadoc -Ddoclint=all