How to see the generated Jacoco results in Travis-CI

We run Java tests with Jacoco intergration tests. It’s integrated in our Github pipeline.

when a test fails, we get at the end of all tests the result as a link to an html file:

<============-> 95% EXECUTING [3m 29s]FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':integrationTest'.

> There were failing tests. See the report at: file:///home/travis/build/COMPANYNAME/PROJECT/services/SERVICENAME/build/reports/tests/integrationTest/index.html

In my IDE I can click now the link to see the results.

How do I manage to get this report as a link in Github / Travis-Ci?

(unfortunately I can’t share a link, all the repos are private :frowning: )

Hey @joergi,

The question is a bit vague. You can use debug mode in the Travis UI, that will give you more information on the build.