XenoAmess commented on a change in pull request #178:
URL:
https://github.com/apache/commons-collections/pull/178#discussion_r477179031
##########
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
I'm trying to change the if condition from jdk-version to os-name.
If it can work, then the problem is from ppc64le but not jdk8.
(A little curious : why we need a test environment on ppc64le? Is there some
historical reason?)
----------------------------------------------------------------
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]