From 4c5f549c6ebe3910e81e67f52aecdf434460c6e0 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 18 Dec 2018 22:20:40 +0300 Subject: [PATCH] Use a separate submodule update step with parallel checkouts to speedup CI job startup. --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8fd8489..d50606f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -254,10 +254,11 @@ install: - cd .. - git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root - - git submodule update --init libs/headers - - git submodule update --init tools/build - - git submodule update --init tools/boostdep - - git submodule update --init tools/boost_install + - git submodule init libs/headers + - git submodule init tools/build + - git submodule init tools/boostdep + - git submodule init tools/boost_install + - git submodule update --jobs 4 - cp -r $TRAVIS_BUILD_DIR/* libs/detail - python tools/boostdep/depinst/depinst.py detail - ./bootstrap.sh