Skip to content

Commit 8285722

Browse files
authored
Merge pull request #90 from cloudblue/Travis-Sonar-Fix
Fixed travis for PR
2 parents 91c76e8 + 8b7383b commit 8285722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ script:
2626
- flake8 connect
2727
- pytest --cov-report=xml --cov=./connect
2828
- sed -i "s/version='0.0.0'/version='${TRAVIS_TAG}'/g" setup.py
29-
- sonar-scanner
29+
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sonar-scanner; fi'
3030

3131
after_success:
3232
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)