travis: Only build sonarcloud target if the token is available
authorTobias Brunner <tobias@strongswan.org>
Tue, 2 Oct 2018 07:38:00 +0000 (09:38 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 2 Oct 2018 07:38:00 +0000 (09:38 +0200)
commit4a33dcfefc3b0c6e2d87025587e46ad763ccc8ea
tree708904ed3b3bec4b50aa1c5070bed0a699eb1602
parentb98db907637ec8eef8460be1ea866b52ea749699
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.
.travis.yml