From 69bd3e73bf25f16d2ce33594305b5e7fb64a246b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 27 Oct 2017 15:33:19 +0300 Subject: [PATCH] Fix .travis.yml to support branches --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ce749a..ddaf584 100644 --- a/.travis.yml +++ b/.travis.yml @@ -177,8 +177,9 @@ matrix: env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z install: + - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true - cd .. - - git clone -b $TRAVIS_BRANCH https://github.com/boostorg/boost.git boost-root + - git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root - cd boost-root - git submodule init libs/assert - git submodule init libs/config