summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRene Rivera <grafikrobot@gmail.com>2016-06-16 22:57:51 -0500
committerRene Rivera <grafikrobot@gmail.com>2016-06-16 23:20:37 -0500
commitc375f2ca16addb102b72cbc692b610dc5cf17ce9 (patch)
tree4ba4519cfce1ddf05e2861c5cf587a876d9416a0 /.travis.yml
parentadc39bdfeaf09d6fad2264ed70c76085cabec614 (diff)
downloadboost-c375f2ca16addb102b72cbc692b610dc5cf17ce9.tar.gz
Change to fetching common ci code for eventual use. Also add in config
for dealing with SourceForge file release system.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml44
1 files changed, 22 insertions, 22 deletions
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