You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2020/04/01 03:13:29 UTC

[rocketmq] branch develop updated: [ISSUE #1859] add codecov report for unit tests.

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

dinglei pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new a991ea5  [ISSUE #1859] add codecov report for unit tests.
a991ea5 is described below

commit a991ea5a7959463ab751ebb17e3f25403924de29
Author: dinglei <li...@163.com>
AuthorDate: Wed Apr 1 11:13:19 2020 +0800

    [ISSUE #1859] add codecov report for unit tests.
    
    [ISSUE #1859] add codecov report for tests.
---
 .travis.yml | 1 +
 README.md   | 1 +
 pom.xml     | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index f3bcb1d..34d38c2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -33,3 +33,4 @@ script:
 after_success:
   - mvn clean install -Pit-test
   - mvn sonar:sonar -Psonar-apache
+  - bash <(curl -s https://codecov.io/bash) || echo 'Codecov failed to upload'
diff --git a/README.md b/README.md
index a47efbc..9b28078 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
 ## Apache RocketMQ 
 [![Build Status](https://travis-ci.org/apache/rocketmq.svg?branch=master)](https://travis-ci.org/apache/rocketmq) [![Coverage Status](https://coveralls.io/repos/github/apache/rocketmq/badge.svg?branch=master)](https://coveralls.io/github/apache/rocketmq?branch=master)
+[![CodeCov](https://codecov.io/gh/apache/rocketmq/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/rocketmq)
 [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.rocketmq/rocketmq-all/badge.svg)](http://search.maven.org/#search%7Cga%7C1%7Corg.apache.rocketmq)
 [![GitHub release](https://img.shields.io/badge/release-download-orange.svg)](https://rocketmq.apache.org/dowloading/releases)
 [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
diff --git a/pom.xml b/pom.xml
index f87a1dd..2cab482 100644
--- a/pom.xml
+++ b/pom.xml
@@ -280,7 +280,7 @@
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>
-                <version>0.7.8</version>
+                <version>0.8.5</version>
                 <executions>
                     <execution>
                         <id>default-prepare-agent</id>