From 39082b1bc576edc7d16176fa80f5feec0dfec225 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 18 Dec 2018 22:33:50 +0300 Subject: [PATCH] Use a separate submodule update step with parallel checkouts to speedup CI job startup. --- .travis.yml | 9 +++++---- appveyor.yml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e403792..796448d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -206,10 +206,11 @@ install: - cd .. - git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root - - git submodule update --init tools/boostdep - - git submodule update --init tools/build - - git submodule update --init tools/boost_install - - git submodule update --init libs/headers + - git submodule init tools/boostdep + - git submodule init tools/build + - git submodule init tools/boost_install + - git submodule init libs/headers + - git submodule update --jobs 4 - cp -r $TRAVIS_BUILD_DIR/* libs/integer - python tools/boostdep/depinst/depinst.py integer - ./bootstrap.sh diff --git a/appveyor.yml b/appveyor.yml index 89365a6..2cbcb35 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -44,10 +44,11 @@ install: - cd .. - git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root - - git submodule update --init tools/boostdep - - git submodule update --init tools/build - - git submodule update --init tools/boost_install - - git submodule update --init libs/headers + - git submodule init tools/boostdep + - git submodule init tools/build + - git submodule init tools/boost_install + - git submodule init libs/headers + - git submodule update --jobs 4 - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\integer - python tools/boostdep/depinst/depinst.py integer - bootstrap