From 2efb26b810e794e04b99bc6b4496d22a1bf91c84 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sat, 23 May 2015 23:33:43 -0500 Subject: [PATCH] Switching to Python CI script. --- .travis.yml | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4820835..836923e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,26 +2,6 @@ language: cpp compiler: - 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: only: @@ -43,3 +23,17 @@ notifications: os: - 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