Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ManojKumarRS/example-java

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codecov Java Example

Guide

Travis Setup

Add the following to your .travis.yml:

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

Produce Coverage Reports

  1. Add JaCoCo Plugin to your pom.xml file, see here

Caveats

Private Repo

You will need to add the following your .travis.yml:

env:
  global:
    - CODECOV_TOKEN=:uuid-repo-token

JaCoCo Reports

  • Make sure you are on the most up-to-date JaCoCo version. There are issues with previous versions of JaCoCo.
  • JaCoCo reports can expire - Codecov will reject reports that are older than 12 hours. The logs contain details if a report expired.

Support

FAQ

  • Q: How do I enable multi-module projects?
    A: In your pom.xml file please append a list of modules in your projects:
<project>
  <modules>
    <module>module_a/</module>
    <module>module_b/</module>
  </modules>
</project>
  1. More documentation at https://docs.codecov.io
  2. Configure codecov through the codecov.yml https://docs.codecov.io/docs/codecov-yaml
  3. View source and learn more about Codecov Global Uploader

We are happy to help if you have any questions. Please contact email our Support at support@codecov.io

About

Java Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.