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

nic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 1c6eec8ceffd03f4509f023373ed1708e730b5fb
Author: shaofengshi <shaofeng...@apache.org>
AuthorDate: Tue Mar 3 17:42:02 2020 +0800

    enable sonar on non-master branch
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.travis.yml b/.travis.yml
index fa14194..43cbf7e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,6 +45,7 @@ script:
   - mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent test 
coveralls:report -e
   - if [[ -n "${TRAVIS_PULL_REQUEST_SLUG}" && "${TRAVIS_PULL_REQUEST_SLUG}" != 
"${TRAVIS_REPO_SLUG}" ]]; then
         echo "The pull request from ${TRAVIS_PULL_REQUEST_SLUG} is an EXTERNAL 
pull request. Skip sonar analysis.";
+        mvn sonar:sonar -e;
     else
         git fetch --unshallow --quiet;
         mvn sonar:sonar -e;

Reply via email to