From aa19ecb390b5c2fe9798542061e8c3cc086221d1 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 21 Nov 2018 16:49:14 +0100 Subject: [PATCH] travis: reorder jobs to reduce overall build time per push 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 | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 22a43a9ab7..d17eccfa03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,28 +20,28 @@ env: jobs: include: - - 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 - - env: - - os: linux - - DISTRO=Fedora28 - - CI_BUILD_TYPE=options-disabled - env: - os: linux - DISTRO=Fedora28 - CI_BUILD_TYPE=mingw + - env: + - os: linux + - DISTRO=Fedora28 + - CI_BUILD_TYPE=options-enabled + - env: + - os: linux + - DISTRO=Fedora28 + - CI_BUILD_TYPE=options-disabled + - env: + - os: linux + - DISTRO=Fedora28 + - CI_BUILD_TYPE=options-enabled + - BUILDSYSTEM=ninja + - env: + - os: linux + - DISTRO=Fedora28 + - CI_BUILD_TYPE=options-disabled + - BUILDSYSTEM=ninja - if: type = cron env: - os: linux