Codecov's Java Example ====================== | [https://codecov.io][1] | [@codecov][2] | [hello@codecov.io][3] | | ----------------------- | ------------- | --------------------- | This repository serves as an **Example** on how to use [Codecov Global][4] for Java. ## Usage ### Add Jacoco plugin ```xml org.jacoco jacoco-maven-plugin 0.5.8.201207111220 prepare-agent report test report ``` > For the [newest version check here](http://www.eclemma.org/jacoco/) # Travis CI Add to your `.travis.yml` file. ```yml 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. ```yml language: java env: global: - CODECOV_TOKEN=:uuid-repo-token after_success: - bash <(curl -s https://codecov.io/bash) ``` View source and lean more about [Codecov Global Uploader][4] [1]: https://codecov.io/ [2]: https://twitter.com/codecov [3]: mailto:hello@codecov.io [4]: https://github.com/codecov/codecov-bash