Only install the necessary submodules in Travis and Appveyor

This commit is contained in:
Peter Dimov 2017-12-24 00:28:06 +02:00
parent 426836d860
commit ac4e8da91d
2 changed files with 12 additions and 4 deletions

View File

@ -185,10 +185,14 @@ install:
- git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init tools/build
- git submodule update --init libs/assert
- git submodule update --init libs/config
- git submodule update --init tools/boostdep
- git submodule update --init libs/core
- git submodule update --init libs/preprocessor
- git submodule update --init libs/static_assert
- git submodule update --init libs/throw_exception
- git submodule update --init libs/type_traits
- cp -r $TRAVIS_BUILD_DIR/* libs/utility
- python tools/boostdep/depinst/depinst.py utility
- ./bootstrap.sh
- ./b2 headers

View File

@ -29,10 +29,14 @@ install:
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init tools/build
- git submodule update --init libs/assert
- git submodule update --init libs/config
- git submodule update --init tools/boostdep
- git submodule update --init libs/core
- git submodule update --init libs/preprocessor
- git submodule update --init libs/static_assert
- git submodule update --init libs/throw_exception
- git submodule update --init libs/type_traits
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\utility
- python tools/boostdep/depinst/depinst.py utility
- cmd /c bootstrap
- b2 -d0 headers