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:
parent
b98db90763
commit
4a33dcfefc
|
@ -59,6 +59,7 @@ matrix:
|
|||
env: TEST=osx
|
||||
- compiler: gcc
|
||||
env: TEST=sonarcloud
|
||||
if: env(SONAR_TOKEN) IS present
|
||||
git:
|
||||
depth: false
|
||||
addons:
|
||||
|
|
Loading…
Reference in New Issue