From f321ce404fd1456cf3ca62e593603e05e1084fb3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 18 Jun 2017 00:08:05 +0300 Subject: [PATCH] Enable Travis on feature branches --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 84089a4..2f2308a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ branches: only: - master - develop + - feature/* env: matrix: @@ -284,8 +285,9 @@ matrix: env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++1z install: + - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master - 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/align - git submodule init libs/assert