Fix branch handling; add -j3 to b2 test

This commit is contained in:
Peter Dimov
2019-12-27 03:32:34 +02:00
parent 00724b8429
commit c6b558f1f2

View File

@ -336,8 +336,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
@ -350,7 +351,7 @@ install:
script:
- |-
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
- ./b2 libs/static_assert/test toolset=$TOOLSET
- ./b2 -j3 libs/static_assert/test toolset=$TOOLSET
notifications:
email: