Copy repo instead of doing a checkout, for pull requests.

This commit is contained in:
Peter Dimov
2016-09-10 13:50:36 +03:00
parent 5263c5d47f
commit 8156259043
2 changed files with 8 additions and 12 deletions

View File

@ -16,19 +16,17 @@ branches:
- develop
install:
- git clone -b $TRAVIS_BRANCH https://github.com/boostorg/boost.git boost
- cd boost
- cd ..
- git clone -b $TRAVIS_BRANCH https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule init libs/assert
- git submodule init libs/config
- git submodule init libs/core
- git submodule init libs/predef
- git submodule init libs/static_assert
- git submodule init libs/type_traits
- git submodule init tools/build
- git submodule update
- cd libs/core
- git checkout -q $TRAVIS_COMMIT
- cd ../..
- cp -r $TRAVIS_BUILD_DIR/* libs/core
- ./bootstrap.sh
- ./b2 headers

View File

@ -12,19 +12,17 @@ branches:
- develop
install:
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost
- cd boost
- cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule init libs/assert
- git submodule init libs/config
- git submodule init libs/core
- git submodule init libs/predef
- git submodule init libs/static_assert
- git submodule init libs/type_traits
- git submodule init tools/build
- git submodule update
- cd libs\core
- git checkout -q %APPVEYOR_REPO_COMMIT%
- cd ..\..
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\core
- bootstrap
- b2 headers