diff --git a/.travis.yml b/.travis.yml index c2442cb..ac3b93e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -296,8 +296,9 @@ matrix: env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++1z install: + - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true - cd .. - - git clone -b $TRAVIS_BRANCH --depth 1 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 - git submodule update --init tools/build - git submodule update --init libs/config diff --git a/appveyor.yml b/appveyor.yml index 87b0672..fe6d035 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,8 +22,10 @@ environment: TOOLSET: msvc-14.1 install: + - set BOOST_BRANCH=develop + - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master - cd .. - - git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 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 - git submodule update --init tools/build - git submodule update --init libs/config