support codecov

This commit is contained in:
Kent Yao 2018-03-20 11:27:58 +08:00
parent 839bd24fdf
commit 9338b60a76
2 changed files with 23 additions and 0 deletions

View File

@ -20,3 +20,6 @@ install:
script:
- ./build/mvn package -q -Dmaven.javadoc.skip=true -B -V
after_success:
- bash <(curl -s https://codecov.io/bash)

20
pom.xml
View File

@ -396,6 +396,26 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.5.8.201207111220</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>
</plugins>
</build>