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

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


The following commit(s) were added to refs/heads/master by this push:
     new 9831773  Update travis to run japicmp in the main script and fix 
coveralls.
9831773 is described below

commit 9831773447456466ae93b07e59ea76c8cce31787
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Wed Mar 4 09:09:46 2020 +0000

    Update travis to run japicmp in the main script and fix coveralls.
    
    Anything that fails in after_success is ignored in travis reporting. The
    checks must be done in the main script.
    
    The japicmp was failing due to the lack of a jar to compare and so
    coveralls was then not submitting. No coverage reports have been logged
    by coveralls since June 2017.
---
 .travis.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index d62800a..348fb49 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,6 +32,9 @@ jdk:
 
 script:
   - mvn
+  # japicmp requires a package
+  - mvn jar:jar japicmp:cmp -P japicmp
 
 after_success:
-  - mvn clean test japicmp:cmp -P japicmp jacoco:report coveralls:report 
-Ptravis-jacoco
\ No newline at end of file
+  # jacoco will run in the main script. Include the profile to submit to 
coveralls.
+  - mvn jacoco:report coveralls:report -Ptravis-jacoco

Reply via email to