You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/12/24 05:02:27 UTC

[incubator-iotdb] 01/01: disable sonar and coveralls for non-committers

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

hxd pushed a commit to branch disable_sonar_for_push
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit eb26b51c9467f3234f8d09fab4659f912f488feb
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Dec 24 13:02:03 2019 +0800

    disable sonar and coveralls for non-committers
---
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index fad220a..1dd8a22 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -175,6 +175,7 @@ matrix:
 #        - mvn -B apache-rat:check
 #        - mvn -B clean package -pl server,grafana,client,example,:kafka-example,:rocketmq-example -am integration-test
     - os: linux
+      if: fork = false #only fork=true (i.e., the committer has permission to write the repo)
       name: sonar-analysis
       dist: xenial
       jdk: openjdk8
@@ -187,6 +188,7 @@ matrix:
       script:
         - mvn verify sonar:sonar -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-iotdb -DskipTests
     - os: linux
+      if: fork = false #only fork=true (i.e., the committer has permission to write the repo)
       name: code-coverage
       dist: xenial
       jdk: openjdk8