提交 5935296f 编写于 作者: 张乐 提交者: GitHub

Merge pull request #402 from nobodyiam/coverage

add jacoco with coverage
...@@ -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:
......
...@@ -403,10 +403,23 @@ ...@@ -403,10 +403,23 @@
</execution> </execution>
</executions> </executions>
</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> <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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册