mirror of
https://github.com/boostorg/predef.git
synced 2025-07-30 19:57:14 +02:00
Add toolset to use for Travis.
This commit is contained in:
@ -5,20 +5,23 @@ compiler:
|
|||||||
- clang
|
- clang
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- cd $TRAVIS_BUILD_DIR
|
||||||
- wget "https://github.com/boostorg/build/archive/develop.tar.gz"
|
- wget "https://github.com/boostorg/build/archive/develop.tar.gz"
|
||||||
- tar -xzvf develop.tar.gz
|
- tar -xzvf develop.tar.gz
|
||||||
- cd build-develop
|
- cd build-develop
|
||||||
- ./bootstrap.sh
|
- ./bootstrap.sh
|
||||||
- sudo ./b2 install --prefix=/usr
|
- sudo ./b2 install --prefix=/usr
|
||||||
|
- if [ "$CC" = "gcc" ]; then export B2_TOOLSET="gcc"; fi
|
||||||
|
- if [ "$CC" = "clang" ]; then export B2_TOOLSET="clang"; fi
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
- 'echo "project ROOT : : : build-dir bin ;" > jamroot.jam'
|
- 'echo "project ROOT : : : build-dir bin ;" > jamroot.jam'
|
||||||
|
- cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd test && b2 -a --verbose-test toolset=$B2_TOOLSET
|
||||||
- cd test && b2 -a --verbose-test
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
|
Reference in New Issue
Block a user