codecov with jacoco

This commit is contained in:
Samuel Carlsson 2017-10-22 19:30:48 +02:00
parent 5dfacc8e32
commit 36f107da5b
2 changed files with 21 additions and 1 deletions

View File

@ -1,2 +1,3 @@
language: java
after_success:
- bash <(curl -s https://codecov.io/bash)

19
pom.xml
View File

@ -113,6 +113,25 @@
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>