From 9831773447456466ae93b07e59ea76c8cce31787 Mon Sep 17 00:00:00 2001 From: Alex Herbert Date: Wed, 4 Mar 2020 09:09:46 +0000 Subject: [PATCH] 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 d62800abf..348fb4957 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