#1194 Setup code coverage analysis with codecov

This commit is contained in:
Filip Hrisafov 2017-05-07 18:17:57 +02:00
parent 7cf77f4c26
commit 65b0e4d3c5
3 changed files with 10 additions and 1 deletions

7
.codecov.yml Normal file
View File

@ -0,0 +1,7 @@
coverage:
status:
project:
default:
# basic
threshold: 0.05
comment: off

View File

@ -3,6 +3,8 @@ jdk:
- oraclejdk8
install: true
script: mvn clean install -DprocessorIntegrationTest.toolchainsFile=etc/toolchains-travis-jenkins.xml -B -V
after_success:
- mvn jacoco:report && bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
sudo: false
cache:

View File

@ -494,7 +494,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.1.201405082137</version>
<version>0.7.9</version>
</plugin>
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>