Skip to content

Commit a4e698b

Browse files
committed
travis: Don't run sonarcloud in forked repositories
1 parent 2a58030 commit a4e698b

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
@@ -38,7 +38,7 @@ env:
3838
matrix:
3939
include:
4040
- env: TEST=sonarcloud
41-
if: type = push
41+
if: type = push AND env(SONAR_TOKEN) IS present
4242
git:
4343
depth: false
4444
addons:

0 commit comments

Comments
 (0)