<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>For the newest version check here
Add to your .travis.yml file.
language:
java
before_script:
- pip install --user codecov
after_success:
- codecovAnother option is our Bash uploader
Add to your .travis.yml file.
env:
global:
- CODECOV_TOKEN=:uuid-repo-token
before_script:
- pip install --user codecov
after_success:
- codecovView source and learn more about Codecov Global Uploader