Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99d17cc

Browse files
committed
Disabling sonar on PR builds.
1 parent 53b9423 commit 99d17cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ before_script:
7171
script:
7272
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/install.sh; fi
7373
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/run_examples_and_tests.sh; fi
74-
- if [ "${TRAVIS_TAG}" = "" ] && [ "${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" ]; then sonar-scanner; fi
74+
- if [ "${TRAVIS_TAG}" = "" ] && [ "${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then sonar-scanner; fi
7575
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/coveralls_uploader.sh; fi
7676
- bash .travis/build_docs.sh
7777
- if [ "${TRAVIS_TAG}" = "" ]; then bash .travis/push_release_version.sh; fi

0 commit comments

Comments
 (0)