kinow commented on a change in pull request #178:
URL:
https://github.com/apache/commons-collections/pull/178#discussion_r477170980
##########
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:
No problem @XenoAmess . I had to google that too. I also didn't know
about that option, but looking at the docs I think that only reduces the log
lines.
Will chase the commit history, and ping the mailing list if necessary. I
noticed [lang] has that option too, though it doesn't seem to differentiate JVM
version?
https://github.com/apache/commons-lang/blob/master/.github/workflows/maven.yml
----------------------------------------------------------------
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]