boost/.travis.yml
Peter Dimov be202aaa4d
Feature/cmake config (#229)
* Fix boost-install; call cmake-config from it

* Install BoostDetectToolset.cmake

* Do not declare `headers` an alias to `libs/headers/build/boost_headers`

* Rename cmake-config to boost-install; move the boost-install rule there

* Add <threading>multi to default-build

* Add submodules headers, boost_install

* Update boost_install

* Enable feature branches in .travis.yml

* Simplify boostcpp.jam install/stage, delegate to library install/stage targets

* Update libs/headers

* Update boostcpp.python-tag to add the Python version suffix

* Update boost_install

* Update boost_install

* Make stage-locate (and BOOST_STAGE_LOCATE) in boostcpp.jam absolute paths

* Remove $(ROOT) parameter of boost-install.boost-install

* Update boost_install

* Update boost_install

* Remove the boost-install generating rules from Jamroot

* Update boost_install

* Update boost_install

* Update boost_install

* Update libs/headers, tools/boost_install

* Update libs/headers, tools/boost_install

* Remove version parameter from boost-install; update headers and boost-install

* Update boost_install

* Update boost_install

* Add --cmakedir, --no-cmake-config to Jamroot help

* Update boost_install
2018-12-18 19:06:52 +02:00

88 lines
2.3 KiB
YAML

# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
# Copyright Rene Rivera 2015-2016.
# Copyright Peter Dimov 2017.
branches:
only:
- master
- develop
- /feature\/.*/
dist: trusty
language: cpp
compiler: gcc
addons:
apt:
packages:
- p7zip-full
- docutils-common
- docutils-doc
- docbook
- docbook-xml
- docbook-xsl
- xsltproc
- doxygen
- dvipsk-ja
- texlive
- sshpass
- ghostscript
ssh_known_hosts: frs.sourceforge.net
env:
matrix:
- TRAVIS_EMPTY_JOB_WORKAROUND=true
matrix:
exclude:
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true
include:
- env: SCRIPT=ci_boost_release MODE=check
# Simple integrated status tests check.
- env: SCRIPT=ci_boost_status
# Run 'quick' tests.
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=gcc CXXSTD=03,11
compiler: g++
- env: SCRIPT=ci_boost_status TARGET=quick TOOLSET=clang CXXSTD=03,11
compiler: clang++
# Build Boost
- env: SCRIPT=ci_boost_build TOOLSET=gcc CXXSTD=11
compiler: g++
# Run tests for the library updated by this commit.
- env: SCRIPT=ci_boost_test_library TOOLSET=gcc CXXSTD=11
compiler: g++
- env: SCRIPT=ci_boost_test_library TOOLSET=clang CXXSTD=11
compiler: clang++
# # Library requirements tests.
# - env: SCRIPT=ci_boost_library_check
#
# allow_failures:
# - env: SCRIPT=ci_boost_library_check
before_install:
# Fetch the scripts to do the actual building/testing.
- |
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 ..
rvm install 2.3.3
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