]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
travis: Run long-running tests first to reduce overall build time
authorTobias Brunner <tobias@strongswan.org>
Tue, 18 Sep 2018 14:55:38 +0000 (16:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Sep 2018 09:03:47 +0000 (11:03 +0200)
Moving the manual matrix inclusions further up would be even better but
that doesn't seem possible.

.travis.yml

index 504e118d99e1b4076a26811b61c0ba60782f3a1b..70af17b41688cc55f483432b48a9af8db25bdb51 100644 (file)
@@ -33,6 +33,9 @@ env:
     - LEAK_DETECTIVE=no
     - MONOLITHIC=no
   matrix:
+    - TEST=all
+    - TEST=all MONOLITHIC=yes
+    - TEST=all LEAK_DETECTIVE=yes
     - TEST=default
     - TEST=default MONOLITHIC=yes
     - TEST=default LEAK_DETECTIVE=yes
@@ -45,18 +48,12 @@ env:
     # we can't test Vstr as negative int args are not properly passed to CBs
     - TEST=printf-builtin
     - TEST=printf-builtin LEAK_DETECTIVE=yes
-    - TEST=all
-    - TEST=all MONOLITHIC=yes
-    - TEST=all LEAK_DETECTIVE=yes
 
 matrix:
   include:
-    - compiler: gcc
-      env: TEST=dist
-    - compiler: gcc
-      env: TEST=apidoc
-    - compiler: gcc
-      env: TEST=coverage
+    - compiler: clang
+      os: osx
+      env: TEST=osx
     - compiler: gcc
       env: TEST=sonarcloud
       git:
@@ -64,6 +61,14 @@ matrix:
       addons:
         sonarcloud:
           organization: "strongswan"
+    - compiler: gcc
+      env: TEST=coverage
+    - compiler: clang
+      env: TEST=fuzzing MONOLITHIC=yes
+    - compiler: gcc
+      env: TEST=dist
+    - compiler: gcc
+      env: TEST=apidoc
     - compiler: gcc
       env: TEST=win64 MONOLITHIC=yes
     # this does not work on 14.04 due to a missing @4 decoration for
@@ -71,8 +76,3 @@ matrix:
     - compiler: gcc
       env: TEST=win32 MONOLITHIC=yes
       dist: precise
-    - compiler: clang
-      env: TEST=fuzzing MONOLITHIC=yes
-    - compiler: clang
-      os: osx
-      env: TEST=osx