]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
travis: Start with sonarcloud job first
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Nov 2018 15:42:44 +0000 (16:42 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 21 Nov 2018 13:37:56 +0000 (14:37 +0100)
Also change the condition, the environment variable is apparently still
around when the decision to run it is made.

.travis.yml

index 904f1a910e338b3a6d770eac1051709b1d22c33c..5dbeb44c6b788768a30c7b9ad94483edf9993d3b 100644 (file)
@@ -55,17 +55,17 @@ env:
 
 matrix:
   include:
-    - compiler: clang
-      os: osx
-      env: TEST=osx
     - compiler: gcc
       env: TEST=sonarcloud
-      if: env(SONAR_TOKEN) IS present
+      if: type = push
       git:
         depth: false
       addons:
         sonarcloud:
           organization: "strongswan"
+    - compiler: clang
+      os: osx
+      env: TEST=osx
     - compiler: gcc
       env: TEST=coverage
     - compiler: clang