mirror of
https://github.com/boostorg/predef.git
synced 2025-07-31 04:07:13 +02:00
Switching to Python CI script.
This commit is contained in:
34
.travis.yml
34
.travis.yml
@ -2,26 +2,6 @@ language: cpp
|
|||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
|
||||||
|
|
||||||
install:
|
|
||||||
- cd $TRAVIS_BUILD_DIR
|
|
||||||
- wget "https://github.com/boostorg/build/archive/develop.tar.gz"
|
|
||||||
- tar -xzvf develop.tar.gz
|
|
||||||
- cd build-develop
|
|
||||||
- ./bootstrap.sh
|
|
||||||
- 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
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- cd $TRAVIS_BUILD_DIR
|
|
||||||
- 'echo "project ROOT : : : build-dir bin ;" > jamroot.jam'
|
|
||||||
- cd $TRAVIS_BUILD_DIR
|
|
||||||
|
|
||||||
script:
|
|
||||||
- cd test && b2 -a --verbose-test toolset=$B2_TOOLSET
|
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
@ -43,3 +23,17 @@ notifications:
|
|||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
||||||
|
before_install: wget "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/script.py"
|
||||||
|
|
||||||
|
install: python script.py travis_install
|
||||||
|
|
||||||
|
before_script: python script.py travis_before_script
|
||||||
|
|
||||||
|
script: python script.py travis_script
|
||||||
|
|
||||||
|
after_success: python script.py travis_after_success
|
||||||
|
|
||||||
|
after_failure: python script.py travis_after_failure
|
||||||
|
|
||||||
|
after_script: python script.py travis_after_script
|
||||||
|
Reference in New Issue
Block a user