Skip to content

WilliamHeaven/codecov-travis-maven-junit5-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis CI + Codecov + Junit5 + jacoco + Maven + java8 above Java Example

1: Add some code in pom.xml and .travis.yml

  • 1). Add jacoco-maven-plugin and maven-surefire-plugin plugin to your pom.xml file, see here
  • 2). Call mvn clean package during your CI tests, see here
  • 3). Call bash <(curl -s https://codecov.io/bash) at the end of your CI build, see here

2 : Add repository to travis ci and codev with github account

3: Add travis and codecov icon in README.md

Build Status codecov

4: Notice

Use jacoco-maven-plugin plugin version 0.8.2 to collect test coverage without codecov token ,need jdk version: java8+

So if you ues a lower jdk version , please see this repo : https://github.com/lovepoem/codecov-travis-maven-junit4-example

About

codecov travis jacoco maven junit5 example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%