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

Skip to content

Commit 46b3ff5

Browse files
committed
Fix condition where the pull request analysis was run but not on branches.
1 parent 71fd66d commit 46b3ff5

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
@@ -94,7 +94,7 @@ before_script:
9494
script:
9595
- if [[ ! $TRAVIS_TAG ]]; then bash test/install_and_run_tests.sh; fi
9696
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/validate_report_files.sh; fi
97-
- if [[ ! $TRAVIS_TAG ]] && [[ ("${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" && "$(TRAVIS_PULL_REQUEST)" == false) || ("${TRAVIS_PULL_REQUEST_SLUG}" = "${UTPLSQL_REPO}") ]]; then bash .travis/run_sonar_scanner.sh; fi
97+
- if [[ ! $TRAVIS_TAG ]] && [[ ("${TRAVIS_REPO_SLUG}" = "${UTPLSQL_REPO}" && "${TRAVIS_PULL_REQUEST}" == false) || ("${TRAVIS_PULL_REQUEST_SLUG}" = "${UTPLSQL_REPO}") ]]; then bash .travis/run_sonar_scanner.sh; fi
9898
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/coveralls_uploader.sh; fi
9999

100100
notifications:

0 commit comments

Comments
 (0)