This is an automated email from the ASF dual-hosted git repository.

min pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git


The following commit(s) were added to refs/heads/develop by this push:
     new 1a24605  update codecov
1a24605 is described below

commit 1a246051b2ed72212eec524621d97528ee5cda4e
Author: nzomkxia <z82507...@gmail.com>
AuthorDate: Fri Oct 26 10:42:53 2018 +0800

    update codecov
---
 .travis.yml |  2 +-
 pom.xml     | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index bf88f1b..dba4c65 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,7 +5,7 @@ jdk:
     - oraclejdk11
     - oraclejdk8
 script:
-    - travis_wait 30 mvn clean cobertura:cobertura package
+    - travis_wait 30 mvn clean package
 
 after_success:
   - bash <(curl -s https://codecov.io/bash)
diff --git a/pom.xml b/pom.xml
index 4677df6..986d206 100644
--- a/pom.xml
+++ b/pom.xml
@@ -112,5 +112,29 @@
                </profile>
        </profiles>
 
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.jacoco</groupId>
+                               <artifactId>jacoco-maven-plugin</artifactId>
+                               <version>0.8.1</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>
+
 
 </project>

Reply via email to