From 815625904311e29fe3fb83f0ef3f012a4a94572f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 10 Sep 2016 13:50:36 +0300 Subject: [PATCH] Copy repo instead of doing a checkout, for pull requests. --- .travis.yml | 10 ++++------ appveyor.yml | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff6fab5..6b7ec2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index a915c65..501288d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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