[master] 9f6df49f6 Speed up Travis CI builds

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Mar 5 15:32:07 UTC 2020


commit 9f6df49f61fb7d8b2deb178d37542319d1de43af
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Thu Mar 5 16:27:01 2020 +0100

    Speed up Travis CI builds
    
    The longest part is the test suite, so in order to release build
    machines sooner I hope that 8 concurrent jobs will strick a good
    balance between speed and resource consumption, considering that
    test cases mostly wait.
    
    That is still below what we do for Circle CI builds with 12 jobs
    for distcheck tasks.

diff --git a/.travis.yml b/.travis.yml
index 806d4f45a..f8a432b8a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,9 +27,9 @@ jobs:
       script: &script-common
         - |
           if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then
-            make -j3 distcheck VERBOSE=1
+            make -j8 distcheck VERBOSE=1
           else
-            make -j3 check VERBOSE=1
+            make -j8 check VERBOSE=1
           fi
     - <<: *test-linux
       arch: arm64


More information about the varnish-commit mailing list