travis: Only add the sonarcloud addon for that build
authorTobias Brunner <tobias@strongswan.org>
Wed, 12 Sep 2018 10:02:41 +0000 (12:02 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 12 Sep 2018 14:25:00 +0000 (16:25 +0200)
.travis.yml

index d220950..99a01d2 100644 (file)
@@ -7,10 +7,6 @@ compiler:
   - gcc
   - clang
 
-addons:
-  sonarcloud:
-    organization: "strongswan"
-
 before_install:
   - travis_retry ./scripts/test.sh deps
   - travis_retry ./scripts/test.sh pydeps
@@ -63,6 +59,9 @@ matrix:
       env: TEST=sonarcloud
       git:
         depth: false
+      addons:
+        sonarcloud:
+          organization: "strongswan"
     - compiler: gcc
       env: TEST=win64 MONOLITHIC=yes
     # this does not work on 14.04 due to a missing @4 decoration for