提交 638789aa 编写于 作者: P pengys5

Cobertura did not support java 8 lambda.

So change coverage tools from Cobertura to JaCoCo
上级 667c0f47
...@@ -18,5 +18,5 @@ script: ...@@ -18,5 +18,5 @@ script:
- mvn clean install - mvn clean install
after_success: after_success:
- mvn clean cobertura:cobertura coveralls:report - mvn clean test jacoco:report coveralls:report
- bash ./travis/push_image.sh - bash ./travis/push_image.sh
...@@ -159,25 +159,17 @@ ...@@ -159,25 +159,17 @@
</plugin> </plugin>
<!-- 覆盖率 --> <!-- 覆盖率 -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.jacoco</groupId>
<artifactId>cobertura-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>2.7</version> <version>0.7.9</version>
<configuration> <executions>
<check>true</check> <execution>
<encoding>UTF-8</encoding> <id>prepare-agent</id>
<aggregate>true</aggregate> <goals>
<formats> <goal>prepare-agent</goal>
<format>xml</format> </goals>
<format>html</format> </execution>
</formats> </executions>
<instrumentation>
<excludes>
<exclude>org/skywalking/apm/network/**/*.class</exclude>
<exclude>org/skywalking/apm/collector/remote/grpc/**/*.class</exclude>
<exclude>org/skywalking/apm/agent/core/context/ids/base64/*.class</exclude>
</excludes>
</instrumentation>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.spotify</groupId> <groupId>com.spotify</groupId>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册