Use --jobs 3 when updating submodules

This commit is contained in:
Peter Dimov
2020-01-20 16:56:43 +02:00
parent b0eb5ccb20
commit 4788894218

View File

@@ -254,11 +254,11 @@ matrix:
install: install:
- BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
- cd .. - cd ..
- git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root - git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root - cd boost-root
- git submodule update --init tools/boostdep - git submodule update --init tools/boostdep
- cp -r $TRAVIS_BUILD_DIR/* libs/regex - cp -r $TRAVIS_BUILD_DIR/* libs/regex
- python tools/boostdep/depinst/depinst.py regex - python tools/boostdep/depinst/depinst.py -g "--jobs 3" regex
- ./bootstrap.sh - ./bootstrap.sh
- ./b2 headers - ./b2 headers