1
0
forked from boostorg/core

Made git branch selection less obscure and more POSIX shell conforming.

This commit is contained in:
Andrey Semashev
2019-01-03 23:47:43 +03:00
parent bbcd5b8f5c
commit 2574ae8a0c

View File

@ -254,7 +254,8 @@ matrix:
env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z
install: install:
- BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true - BOOST_BRANCH=develop
- if [ "$TRAVIS_BRANCH" = "master" ]; then BOOST_BRANCH=master; fi
- cd .. - cd ..
- git clone -b $BOOST_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 - cd boost-root