Commit 5935296f by 张乐 Committed by GitHub

Merge pull request #402 from nobodyiam/coverage

add jacoco with coverage
parents ed654bcc a8b677e7
...@@ -15,6 +15,7 @@ before_install: ...@@ -15,6 +15,7 @@ before_install:
- pip install --user codecov - pip install --user codecov
after_success: after_success:
- mvn clean test jacoco:report coveralls:report
- codecov - codecov
branches: branches:
......
...@@ -404,9 +404,22 @@ ...@@ -404,9 +404,22 @@
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.6.201602180812</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId> <groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId> <artifactId>coveralls-maven-plugin</artifactId>
<version>4.1.0</version> <version>4.2.0</version>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment