From 5195d682ec8f9e31c55be2ceede0f5016576a514 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 15 Jan 2019 13:51:57 +0300 Subject: [PATCH] Enabled multiple git fetch jobs while executing depinst in CI. Increased the number of jobs to 8. --- .travis.yml | 5 +++-- appveyor.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c0f0867..9894f4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -203,6 +203,7 @@ matrix: env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z install: + - GIT_FETCH_JOBS=8 - cd .. - git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root @@ -211,9 +212,9 @@ install: - git submodule init tools/boost_install - git submodule init libs/headers - git submodule init libs/config - - git submodule update --jobs 4 + - git submodule update --jobs $GIT_FETCH_JOBS - cp -r $TRAVIS_BUILD_DIR/* libs/integer - - python tools/boostdep/depinst/depinst.py integer + - python tools/boostdep/depinst/depinst.py --git_args "--jobs $GIT_FETCH_JOBS" integer - ./bootstrap.sh - ./b2 headers diff --git a/appveyor.yml b/appveyor.yml index 608f289..9d2365f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -41,6 +41,7 @@ environment: install: + - set GIT_FETCH_JOBS=8 - cd .. - git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root @@ -49,9 +50,9 @@ install: - git submodule init tools/boost_install - git submodule init libs/headers - git submodule init libs/config - - git submodule update --jobs 4 + - git submodule update --jobs %GIT_FETCH_JOBS% - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\integer - - python tools/boostdep/depinst/depinst.py integer + - python tools/boostdep/depinst/depinst.py --git_args "--jobs %GIT_FETCH_JOBS%" integer - bootstrap - b2 headers