Skip to content

codecov/example-java-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java -> Codecov.io

https://codecov.io/ @codecov hello@codecov.io
=======

This repository serves as an Example on how to use codecov uploader for Java.

Usage

Add JaCoCo plugin

<plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.5.8.201207111220</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>

Travis CI

Add to your .travis.yml file.

language: java after_success: - bash <(curl -s https://codecov.io/bash)

All other CI you can simply run bash <(curl -s https://codecov.io/bash).

Private Repos

Add to your .travis.yml file.

language: java env: global: - CODECOV_TOKEN=:uuid-repo-token after_success: - bash <(curl -s https://codecov.io/bash)

About

No description or website provided.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10

Languages