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
|
env: TEST=osx
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: TEST=sonarcloud
|
env: TEST=sonarcloud
|
||||||
|
if: env(SONAR_TOKEN) IS present
|
||||||
git:
|
git:
|
||||||
depth: false
|
depth: false
|
||||||
addons:
|
addons:
|
||||||
|
|||||||
Reference in New Issue
Block a user