]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
travis: Don't run sonarcloud in forked repositories
authorTobias Brunner <tobias@strongswan.org>
Fri, 23 Nov 2018 08:37:07 +0000 (09:37 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 30 Nov 2018 15:03:10 +0000 (16:03 +0100)
.travis.yml

index 31f4a2a622785ce18930d42da47f07209978f3ae..7e70df553e0b5f3537e46dcd6b67a9be07598b1a 100644 (file)
@@ -38,7 +38,7 @@ env:
 matrix:
   include:
     - env: TEST=sonarcloud
-      if: type = push
+      if: type = push AND env(SONAR_TOKEN) IS present
       git:
         depth: false
       addons: