Skip to content

qubejiang/example-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Repository files navigation

Codecov's Java Example

https://codecov.io@codecovhello@codecov.io

This repository serves as an Example on how to use Codecov Global 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>

For the newest version check here

Travis CI

Add to your .travis.yml file.

language: javaafter_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: javaenv: global: - CODECOV_TOKEN=:uuid-repo-tokenafter_success: - bash <(curl -s https://codecov.io/bash)

View source and lean more about Codecov Global Uploader

About

Java Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java100.0%