XenoAmess commented on a change in pull request #178:
URL: 
https://github.com/apache/commons-collections/pull/178#discussion_r477174947



##########
File path: .travis.yml
##########
@@ -29,10 +29,23 @@ jdk:
   - openjdk-ea
 
 script:
-  - mvn -V --no-transfer-progress
   # japicmp requires a package
-  - mvn -V jar:jar japicmp:cmp -P japicmp --no-transfer-progress
+  - |
+    if [ "$TRAVIS_JDK_VERSION" = "openjdk8" ];
+    then
+    mvn -V;
+    mvn -V jar:jar japicmp:cmp -P japicmp;
+    else
+    mvn -V --no-transfer-progress;
+    mvn -V jar:jar japicmp:cmp -P japicmp --no-transfer-progress;
+    fi;
 
 after_success:
   # jacoco will run in the main script. Include the profile to submit to 
coveralls.
-  - mvn -V jacoco:report coveralls:report -Ptravis-jacoco 
--no-transfer-progress
+  - |
+    if [ "$TRAVIS_JDK_VERSION" = "openjdk8" ];
+    then
+    mvn -V jacoco:report coveralls:report -Ptravis-jacoco;
+    else
+    mvn -V jacoco:report coveralls:report -Ptravis-jacoco 
--no-transfer-progress;
+    fi;

Review comment:
       @kinow 
   Seems:
   only jdk8 on ppc64le (which is not used in commons-lang's ci) have that 
trouble.
   And jdk8 on AMD64 works fine.
   see: https://travis-ci.org/github/apache/commons-collections/builds/721243529
   
   But I have no experience with ppc64le either.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to