You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by mi...@apache.org on 2018/10/26 08:55:05 UTC
[incubator-dubbo-ops] branch develop updated: try to access codecov
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 8992556 try to access codecov
8992556 is described below
commit 899255638d146108ec15bbf7ed9e154b0d5c8def
Author: nzomkxia <z8...@gmail.com>
AuthorDate: Fri Oct 26 16:54:53 2018 +0800
try to access codecov
---
.travis.yml | 3 +--
pom.xml | 27 ++++++++++-----------------
2 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index dba4c65..b4411e7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,10 +2,9 @@ language: java
sudo: false # faster builds
jdk:
- - oraclejdk11
- oraclejdk8
script:
- - travis_wait 30 mvn clean package
+ - travis_wait 30 mvn clean cobertura:cobertura package
after_success:
- bash <(curl -s https://codecov.io/bash)
diff --git a/pom.xml b/pom.xml
index 986d206..1d07428 100644
--- a/pom.xml
+++ b/pom.xml
@@ -115,23 +115,16 @@
<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>
+ <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>