From: Tobias Brunner Date: Tue, 2 Oct 2018 07:38:00 +0000 (+0200) Subject: travis: Only build sonarcloud target if the token is available X-Git-Tag: 5.7.2dr1~24 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=4a33dcfefc3b0c6e2d87025587e46ad763ccc8ea;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/.travis.yml b/.travis.yml index d39c9cb440..e9be72df9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,6 +59,7 @@ matrix: env: TEST=osx - compiler: gcc env: TEST=sonarcloud + if: env(SONAR_TOKEN) IS present git: depth: false addons: