Repository: incubator-rocketmq
Updated Branches:
  refs/heads/master 62963b5c6 -> 0623b3c63


Integrate travis-ci with coveralls


Project: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/commit/0623b3c6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/tree/0623b3c6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/diff/0623b3c6

Branch: refs/heads/master
Commit: 0623b3c6392e717af6879cd3bf78fc2ca40308f4
Parents: 62963b5
Author: vongosling <[email protected]>
Authored: Tue Jan 17 13:57:33 2017 +0800
Committer: vongosling <[email protected]>
Committed: Tue Jan 17 13:57:33 2017 +0800

----------------------------------------------------------------------
 .travis.yml |  7 +++++++
 README.md   |  2 +-
 pom.xml     | 15 +++++++++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/blob/0623b3c6/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index b2168ad..a9927e2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,3 +3,10 @@ jdk:
   - oraclejdk8
   - oraclejdk7
   - openjdk7
+
+script:
+  - travis_retry mvn --batch-mode clean apache-rat:check
+  - travis_wait 60 mvn --batch-mode clean package findbugs:check
+
+after_success:
+  - mvn clean cobertura:cobertura coveralls:report

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/blob/0623b3c6/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index a0259f0..32c86fe 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-## RocketMQ [![Build 
Status](https://travis-ci.org/apache/incubator-rocketmq.svg?branch=master)](https://travis-ci.org/apache/incubator-rocketmq)
+## RocketMQ [![Build 
Status](https://travis-ci.org/apache/incubator-rocketmq.svg?branch=master)](https://travis-ci.org/apache/incubator-rocketmq)
 [![Coverage 
Status](https://coveralls.io/repos/github/apache/incubator-rocketmq/badge.svg?branch=master)](https://coveralls.io/github/apache/incubator-rocketmq?branch=master)
 [![Maven 
Central](https://img.shields.io/badge/maven--center-stable--version-green.svg)](http://search.maven.org/#search%7Cga%7C1%7Corg.apache.rocketmq)
 [![GitHub 
release](https://img.shields.io/badge/release-download-orange.svg)](https://github.org/apache/rocketmqreleases)
 
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)

http://git-wip-us.apache.org/repos/asf/incubator-rocketmq/blob/0623b3c6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 617ac9c..afd3d84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -322,6 +322,21 @@
                 <artifactId>coveralls-maven-plugin</artifactId>
                 <version>4.3.0</version>
             </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.7</version>
+                <configuration>
+                    <format>xml</format>
+                    <!-- aggregated reports for multi-module projects -->
+                    <aggregate>true</aggregate>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>3.0.4</version>
+            </plugin>
         </plugins>
     </build>
 

Reply via email to