mirror of
https://github.com/boostorg/regex.git
synced 2025-07-30 04:27:22 +02:00
[CI] Enable travis script to run with other branches than master or develop
This commit is contained in:
@ -243,8 +243,9 @@ matrix:
|
|||||||
osx_image: xcode6.4
|
osx_image: xcode6.4
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
|
||||||
- cd ..
|
- cd ..
|
||||||
- git clone -b $TRAVIS_BRANCH --depth 1 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
|
||||||
- git submodule update --init tools/build
|
- git submodule update --init tools/build
|
||||||
- git submodule update --init tools/boost_install
|
- git submodule update --init tools/boost_install
|
||||||
|
Reference in New Issue
Block a user