From 638789aa94d2814287c577b63e9cb99025f3d87d Mon Sep 17 00:00:00 2001 From: pengys5 <8082209@qq.com> Date: Tue, 1 Aug 2017 15:57:19 +0800 Subject: [PATCH] Cobertura did not support java 8 lambda. So change coverage tools from Cobertura to JaCoCo --- .travis.yml | 2 +- pom.xml | 30 +++++++++++------------------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9b51e79833..cd5b45c105 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,5 +18,5 @@ script: - mvn clean install after_success: - - mvn clean cobertura:cobertura coveralls:report + - mvn clean test jacoco:report coveralls:report - bash ./travis/push_image.sh diff --git a/pom.xml b/pom.xml index 45d1a79244..6a624830a1 100644 --- a/pom.xml +++ b/pom.xml @@ -159,25 +159,17 @@ - org.codehaus.mojo - cobertura-maven-plugin - 2.7 - - true - UTF-8 - true - - xml - html - - - - org/skywalking/apm/network/**/*.class - org/skywalking/apm/collector/remote/grpc/**/*.class - org/skywalking/apm/agent/core/context/ids/base64/*.class - - - + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + prepare-agent + + prepare-agent + + + com.spotify