Skip to content

Commit

Permalink
Revert pr scan (#165)
Browse files Browse the repository at this point in the history
* removed sonar cloud pr scanning as it fails external pr builds
  • Loading branch information
mdazam1942 authored Sep 9, 2019
1 parent 0dbf88f commit f1315cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ addons:
script:
- echo "Running tests..."
- pytest --cov=stix_shifter --cov-report=xml
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_PULL_REQUEST_SLUG" != "" ]; then sonar-scanner; fi # sonar scan on PRs
# - if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_REPO_SLUG" == "ibm/stix-shifter" ]; then sonar-scanner -X ; fi # sonar scan on non-PRs
# - if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ "$TRAVIS_PULL_REQUEST_SLUG" != "" ]; then sonar-scanner; fi # sonar scan on internal PRs
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_REPO_SLUG" == "ibm/stix-shifter" ]; then sonar-scanner; fi # sonar scan on non-PRs

0 comments on commit f1315cb

Please sign in to comment.