Skip to contentSkip to conversation

travis: reorder matrix to speed up build

PATCH In review Steffan Karger 3 participants 3 messages Aug 20, 2017 – Sep 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis: reorder matrix to speed up build

The OSX and mingw builds are much slower than the other jobs. Our free travis account can only use 4 build executors in parallel. Run the slow builds earlier, so that when one or more of these finish, the free build executors will start building the configure variants in parallel with the slow ones. (Instead of doing the slow ones last, which results in using only 1-2 executors during the end stage.)

---
 .travis.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
.travis.yml +9 -9
index 79aa8c9..366e659 100644
@@ -45,15 +45,6 @@ matrix:
     - env: SSLLIB="mbedtls"
       os: linux
       compiler: clang
-    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-crypto" EXTRA_SCRIPT="make distcheck"
-      os: linux
-      compiler: clang
-    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-lzo"
-      os: linux
-      compiler: clang
-    - env: SSLLIB="openssl" EXTRA_CONFIG="--enable-small"
-      os: linux
-      compiler: clang
     - env: SSLLIB="openssl"
       os: osx
       osx_image: xcode7.3
@@ -68,6 +59,15 @@ matrix:
     - env: SSLLIB="openssl" CHOST=i686-w64-mingw32
       os: linux
       compiler: ": Win32 build only"
+    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-crypto" EXTRA_SCRIPT="make distcheck"
+      os: linux
+      compiler: clang
+    - env: SSLLIB="openssl" EXTRA_CONFIG="--disable-lzo"
+      os: linux
+      compiler: clang
+    - env: SSLLIB="openssl" EXTRA_CONFIG="--enable-small"
+      os: linux
+      compiler: clang
   exclude:
     - compiler: gcc
 
Signature · 1 line
2.7.4
#1 lore raw

Hi,

Quoted 8 lines · Steffan Karger

The OSX and mingw builds are much slower than the other jobs. Our free travis account can only use 4 build executors in parallel. Run the slow builds earlier, so that when one or more of these finish, the free build executors will start building the configure variants in parallel with the slow ones. (Instead of doing the slow ones last, which results in using only 1-2 executors during the end stage.)

Nice idea! This should indeed help quite a bit.
Patch is easy and does exactly what the commit message says. ACK.

Cheers,

Signature · 1 line
Antonio Quartulli
#2 lore raw
In reply to Steffan Karger

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Your patch has been applied to the following branches

commit e0a6afa12ea14685d0497ab27453ccc2b09e6e1f (master) commit cac73d4b93e14f3bd5a1ed11b33f73adb29507a3 (release/2.4)

Author: Steffan Karger
Date:   Sun Aug 20 11:19:04 2017 +0200
     travis: reorder matrix to speed up build

     Signed-off-by: Steffan Karger <[email protected]...>
     Acked-by: Antonio Quartulli <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg15302.html
     Signed-off-by: David Sommerseth <[email protected]...>

- --
kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCgAGBQJZsIBaAAoJEIbPlEyWcf3ynvYQALjESHxTRQZtKF32rkvGWChA cFrKXwYqVy/Imfk8IF/ZYC9PHFtg2iD7atK/kQWSV8zcV9zQu5lUaB06JWxO5tP/ JfbNGENNKNJiFtY8uvxr9FlJF65ozViZP9sbFy/vn/0TSC8/zYNFdjSdWdzS+nHx Dxba8g8O9t2HOHEbfHQpaRCaIpYeI29q5l6eNv3LfNUrDvvpeJZI/yh6kt3X0J/S pKCPlUbZYs4BJ9hWMDBmVtqjrrQ2aEyEywzruk8AzeXoFUQrNdqlUULycB0u7W2H J0pib7uMqsWBED4zhJUmgTXHTTaNT9CErwuPGyNFT9tPYIrW3ibOn6afnq8mD5ZW WiV+wwXbWbSsYwfhApLzfUffKeIiKU0h27wF/RZTLnxuB4lJsxxwSJ0K8Af7ZD+F lFrwLzTK8CKFdN/UTIvmzX4x8/DwvPvnjgkGMTMj7HGvRgsYvfz5R0BO0+2lnPhV XdTkx860mGXnVVyzlGD41FEnUiv2GhkZJ6HreD64ZGpPbATuVFUG7YkP8L6EsgrB wIj3om9KEPP9rslqQstaz3A4Oe0kfnWL0h7amQhCzV+CYQhDwoNL+z7Ih290qubM xxKOvSV1lTaNbWz1JHbsWzhcPIxs5Z9J9AHU9eoSb/MxJvyV2vwvS/cAVIRHZ26d C61tRqicyurJm9lC7KyU
=GDqd
-----END PGP SIGNATURE-----