From f5a2ee0a8fecff48064f19ea242c233475e9635f Mon Sep 17 00:00:00 2001 From: dongeforever Date: Tue, 9 May 2017 23:38:56 +0800 Subject: [PATCH] [ROCKETMQ-187] Measure the code coverage for Integration Tests, and add sonar-apache profile, closes apache/incubator-rocketmq#96 --- .travis.yml | 2 +- pom.xml | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 916cac57..2bc22966 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,4 +40,4 @@ script: after_success: - mvn clean install -Pit-test - - mvn sonar:sonar + - mvn sonar:sonar -Psonar-apache diff --git a/pom.xml b/pom.xml index 6fd59ac5..05ead639 100644 --- a/pom.xml +++ b/pom.xml @@ -161,10 +161,10 @@ 1.7 1.7 jacoco - - https://builds.apache.org/analysis - file:**/generated-sources/** + ${project.basedir}/../test/target/jacoco-it.exec + file:**/generated-sources/**,**/test/** + @@ -475,6 +475,13 @@ + + sonar-apache + + + https://builds.apache.org/analysis + + -- GitLab