travis: reorder jobs to reduce overall build time per push
authorStefan Schmidt <s.schmidt@samsung.com>
Wed, 21 Nov 2018 15:49:14 +0000 (16:49 +0100)
committerHermet Park <hermetpark@gmail.com>
Wed, 5 Dec 2018 05:37:06 +0000 (14:37 +0900)
We currently have 6 jobs runnign after a git push, but only 5 parallel
workers available. The macos build takes way longer then the meson
builds for example which we will use to our advantage.

Starting the longest builds (macos and mingw) first and letting the
second meson build start after the first ones finishes. That way the
limitation is still the long running macos job.

Differential Revision: https://phab.enlightenment.org/D7321

.travis.yml

index 22a43a9..d17eccf 100644 (file)
@@ -23,25 +23,25 @@ jobs:
     - env:
       - os: linux
       - DISTRO=Fedora28
+      - CI_BUILD_TYPE=mingw
+    - env:
+      - os: linux
+      - DISTRO=Fedora28
       - CI_BUILD_TYPE=options-enabled
-      - BUILDSYSTEM=ninja
     - env:
       - os: linux
       - DISTRO=Fedora28
       - CI_BUILD_TYPE=options-disabled
-      - BUILDSYSTEM=ninja
     - env:
       - os: linux
       - DISTRO=Fedora28
       - CI_BUILD_TYPE=options-enabled
+      - BUILDSYSTEM=ninja
     - env:
       - os: linux
       - DISTRO=Fedora28
       - CI_BUILD_TYPE=options-disabled
-    - env:
-      - os: linux
-      - DISTRO=Fedora28
-      - CI_BUILD_TYPE=mingw
+      - BUILDSYSTEM=ninja
     - if: type = cron
       env:
         - os: linux