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

mercyblitz pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/incubator-dubbo-spring-boot-project.git


The following commit(s) were added to refs/heads/master by this push:
     new 7193cf7  Update codecov configuration
7193cf7 is described below

commit 7193cf75a7879ad503b5a164734206814c36c124
Author: mercyblitz <mercybl...@gmail.com>
AuthorDate: Wed Jun 20 10:46:40 2018 +0800

    Update codecov configuration
---
 .travis.yml |  6 +++---
 pom.xml     | 20 +++++++++++++++++++-
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 1c8cf2a..ad3b3d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,8 @@ jdk:
     - oraclejdk10
     - oraclejdk9
     - oraclejdk8
-script:
-    - travis_wait 30 ./mvnw clean package
+
+script: "mvn cobertura:cobertura"
 
 after_success:
-    - bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
+  - bash <(curl -s https://codecov.io/bash) -t 
89f70bf5-4d6b-4759-8da0-dfab7881fd3e
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index c89a926..601cafc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,7 +53,8 @@
     <scm>
         
<url>https://github.com/apache/incubator-dubbo-spring-boot-project</url>
         
<connection>scm:git:git:////github.com/apache/incubator-dubbo-spring-boot-project.git</connection>
-        
<developerConnection>scm:git:ssh://git@//github.com/apache/incubator-dubbo-spring-boot-project.git</developerConnection>
+        
<developerConnection>scm:git:ssh://git@//github.com/apache/incubator-dubbo-spring-boot-project.git
+        </developerConnection>
     </scm>
 
     <issueManagement>
@@ -125,4 +126,21 @@
         </profile>
     </profiles>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.7</version>
+                <configuration>
+                    <formats>
+                        <format>html</format>
+                        <format>xml</format>
+                    </formats>
+                    <check/>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>
\ No newline at end of file

Reply via email to