From c375f2ca16addb102b72cbc692b610dc5cf17ce9 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 16 Jun 2016 22:57:51 -0500 Subject: Change to fetching common ci code for eventual use. Also add in config for dealing with SourceForge file release system. --- .travis.yml | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 4ed9d4f1dc..54a6e7ce79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,8 @@ addons: - doxygen - dvipsk-ja - texlive + - sshpass + ssh_known_hosts: frs.sourceforge.net env: matrix: @@ -39,37 +41,35 @@ env: matrix: exclude: - env: TRAVIS_EMPTY_JOB_WORKAROUND=true + include: # Simple integrated status tests check. - - env: STATUS_TESTS=true + - env: + - SCRIPT=ci_boost_status # Build release package for LF end-of-line style text files. - - env: RELEASE_BUILD=LF + - env: + - SCRIPT=ci_boost_release + - RELEASE_BUILD=LF # Build release package for CRLF end-of-line style text files (i.e. for Windows). - - env: RELEASE_BUILD=CRLF + - env: + - SCRIPT=ci_boost_release + - RELEASE_BUILD=CRLF # Library requirements tests. - - env: LIBRARY_CHECK=true + - env: + - SCRIPT=ci_boost_library_check before_install: - # Fetch the script to do the actual building/testing. - - | - if [[ "${STATUS_TESTS}" == "true" ]]; then - wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_status.py" -O ../script.py - fi - - | - if [[ "${RELEASE_BUILD}" == "LF" || "${RELEASE_BUILD}" == "CRLF" ]]; then - wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -O ../script.py - fi + # Fetch the scripts to do the actual building/testing. - | - if [[ "${LIBRARY_CHECK}" == "true" ]]; then - wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_library_check.py" -O ../script.py - fi + wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P .. + wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/${SCRIPT}.py" -P .. -install: python "${TRAVIS_BUILD_DIR}/../script.py" install -before_script: python "${TRAVIS_BUILD_DIR}/../script.py" before_script -script: python "${TRAVIS_BUILD_DIR}/../script.py" script -after_success: python "${TRAVIS_BUILD_DIR}/../script.py" after_success -after_failure: python "${TRAVIS_BUILD_DIR}/../script.py" after_failure -after_script: python "${TRAVIS_BUILD_DIR}/../script.py" after_script +install: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" install +before_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" before_script +script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" script +after_success: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_success +after_failure: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_failure +after_script: python "${TRAVIS_BUILD_DIR}/../${SCRIPT}.py" after_script -- cgit v1.2.1