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

styletang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new c235c56  update coverage status
c235c56 is described below

commit c235c56da09f321af40f1cf5614f83db88a927eb
Author: StyleTang <[email protected]>
AuthorDate: Fri Aug 13 19:22:09 2021 +0800

    update coverage status
---
 .travis.yml |  2 +-
 pom.xml     | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 715c8a1..edf718c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,7 +15,7 @@ jdk:
 
 script:
   - travis_retry mvn -B clean
-  - travis_retry mvn -B package findbugs:findbugs
+  - travis_retry mvn -B package findbugs:findbugs jacoco:report 
coveralls:report
   
 #    - travis_retry mvn -B package findbugs:findbugs coveralls:report
 #after_success:
diff --git a/pom.xml b/pom.xml
index 50bc90f..a003916 100644
--- a/pom.xml
+++ b/pom.xml
@@ -283,6 +283,19 @@
                 <artifactId>findbugs-maven-plugin</artifactId>
                 <version>3.0.4</version>
             </plugin>
+            <plugin>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <version>0.8.7</version>
+                <executions>
+                    <execution>
+                        <id>prepare-agent</id>
+                        <goals>
+                            <goal>prepare-agent</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
              <plugin>
                 <groupId>org.eluder.coveralls</groupId>
                 <artifactId>coveralls-maven-plugin</artifactId>

Reply via email to