travis: Only build sonarcloud target if the token is available
That's not the case for pull requests that don't have access to encrypted tokens/environment variables.
This commit is contained in:
@@ -59,6 +59,7 @@ matrix:
|
||||
env: TEST=osx
|
||||
- compiler: gcc
|
||||
env: TEST=sonarcloud
|
||||
if: env(SONAR_TOKEN) IS present
|
||||
git:
|
||||
depth: false
|
||||
addons:
|
||||
|
||||
Reference in New Issue
Block a user