-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from boostorg/develop
Merge 'develop' to 'master'
- Loading branch information
Showing
7 changed files
with
131 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,120 +1,107 @@ | ||
# 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 Tim Blechmann 2018 | ||
|
||
# Setting up notifications like this is optional as the default behavior | ||
# of Travis is to notify the commiter of problems. But setting a specific | ||
# recipient this way ensures you get all the communications about the | ||
# builds. | ||
notifications: | ||
email: | ||
recipients: | ||
- tim@klingt.org | ||
# Copyright 2016-2018 Peter Dimov | ||
# Distributed under the Boost Software License, Version 1.0. | ||
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) | ||
|
||
language: cpp | ||
|
||
sudo: false | ||
|
||
# For now the CI scripts only support the two main branches available | ||
# on the boost super-project. | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
- /feature\/.*/ | ||
|
||
# We specify a generic language instead of C++ as Travis sets up | ||
# additional environment vars that point to its default toolset | ||
# instead of the one we install. The extra env doesn't interfere, | ||
# but at the same time it's misleading. So to avoid confusion and | ||
# possible unseen side effects we stick with no C++ default setup. | ||
language: generic | ||
|
||
# Speficy the default as Linux here, to avoid duplication in the matrix | ||
# below. We use Trausty as that's the latest we can use. And it's better | ||
# supported by the whole range of C++ toolsets we like to test on. | ||
dist: trusty | ||
os: linux | ||
|
||
# Because we install our own toolsets and other software we need | ||
# to run the sudo support. | ||
sudo: required | ||
|
||
# Travis has a long standing bug with their rather complicated | ||
# build matrix evaluation that causes empty jobs to be created. | ||
# This global matrix entry in combination with the exclusion | ||
# below works around that bug. This is the suggested fix from | ||
# the Travis support people. | ||
env: | ||
matrix: | ||
- TRAVIS_EMPTY_JOB_WORKAROUND=true | ||
- BOGUS_JOB=true | ||
|
||
# This lists all the toolsets we will test with the Boost CI | ||
# scripts. Predef needs to check all of them as its job is to | ||
# distiguish between all of them. For other libraries you would | ||
# want to limit the list to the toolsets that are important | ||
# for that. | ||
matrix: | ||
|
||
exclude: | ||
- env: TRAVIS_EMPTY_JOB_WORKAROUND=true | ||
- env: BOGUS_JOB=true | ||
|
||
include: | ||
- env: TOOLSET=clang-3.4 | ||
- env: TOOLSET=clang-3.5 | ||
- env: TOOLSET=clang-3.6 | ||
- env: TOOLSET=clang-3.7 | ||
- env: TOOLSET=clang-3.8 | ||
- env: TOOLSET=clang-3.9 | ||
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++03 | ||
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++11 | ||
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++14 | ||
- env: TOOLSET=clang-4.0 CXXFLAGS=-std=c++1z | ||
- env: TOOLSET=gcc-4.7 | ||
- env: TOOLSET=gcc-4.8 | ||
- env: TOOLSET=gcc-4.9 | ||
- env: TOOLSET=gcc-5 | ||
- env: TOOLSET=gcc-6 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=c++03 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=c++11 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=c++14 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=c++1z | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=gnu++03 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=gnu++11 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=gnu++14 | ||
- env: TOOLSET=gcc-7 CXXFLAGS=-std=gnu++1z | ||
- env: TOOLSET=xcode-6.1 | ||
os: osx | ||
- env: TOOLSET=xcode-6.4 | ||
os: osx | ||
osx_image: xcode6.4 | ||
- env: TOOLSET=xcode-7.3 | ||
os: osx | ||
osx_image: xcode7.3 | ||
- env: TOOLSET=xcode-8.3 CXXFLAGS=-std=c++03 | ||
os: osx | ||
osx_image: xcode8.3 | ||
- env: TOOLSET=xcode-8.3 CXXFLAGS=-std=c++11 | ||
os: osx | ||
osx_image: xcode8.3 | ||
- env: TOOLSET=xcode-8.3 CXXFLAGS=-std=c++14 | ||
os: osx | ||
osx_image: xcode8.3 | ||
- env: TOOLSET=xcode-8.3 CXXFLAGS=-std=c++1z | ||
os: osx | ||
osx_image: xcode8.3 | ||
|
||
# These are the standard steps to bootstrap the Boost CI scripts | ||
# and to forward the actions to the scripts. | ||
before_install: | ||
# Fetch the scripts to do the actual building/testing. | ||
- | | ||
wget "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/ci_boost_common.py" -P .. | ||
wget "https://raw.githubusercontent.com/boostorg/regression/develop/ci/src/ci_boost_library_test.py" -P .. | ||
install: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" install | ||
before_script: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" before_script | ||
script: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" script | ||
before_cache: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" before_cache | ||
after_success: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" after_success | ||
after_failure: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" after_failure | ||
after_script: python "${TRAVIS_BUILD_DIR}/../ci_boost_library_test.py" after_script | ||
cache: | ||
directories: | ||
- $HOME/boostorg/boost | ||
- os: linux | ||
compiler: g++ | ||
env: TOOLSET=gcc CXXSTD=03,11 | ||
|
||
- os: linux | ||
compiler: g++-5 | ||
env: TOOLSET=gcc CXXSTD=03,11,14,1z | ||
addons: | ||
apt: | ||
packages: | ||
- g++-5 | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
|
||
- os: linux | ||
compiler: g++-6 | ||
env: TOOLSET=gcc CXXSTD=03,11,14,1z | ||
addons: | ||
apt: | ||
packages: | ||
- g++-6 | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
|
||
- os: linux | ||
compiler: g++-7 | ||
env: TOOLSET=gcc CXXSTD=03,11,14,17 | ||
addons: | ||
apt: | ||
packages: | ||
- g++-7 | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
|
||
- os: linux | ||
compiler: g++-8 | ||
env: TOOLSET=gcc CXXSTD=03,11,14,17 | ||
addons: | ||
apt: | ||
packages: | ||
- g++-8 | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
|
||
- os: linux | ||
compiler: clang++ | ||
env: TOOLSET=clang CXXSTD=03,11,14,1z | ||
|
||
- os: linux | ||
compiler: clang++-libc++ | ||
env: TOOLSET=clang CXXSTD=03,11,14,1z | ||
addons: | ||
apt: | ||
packages: | ||
- libc++-dev | ||
|
||
- os: osx | ||
compiler: clang++ | ||
env: TOOLSET=clang CXXSTD=03,11,14,1z | ||
|
||
install: | ||
- BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true | ||
- cd .. | ||
- git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root | ||
- cd boost-root | ||
- git submodule update --init tools/boost_install | ||
- git submodule update --init libs/headers | ||
- git submodule update --init tools/build | ||
- git submodule update --init libs/config | ||
- git submodule update --init tools/boostdep | ||
- cp -r $TRAVIS_BUILD_DIR/* libs/lockfree | ||
- python tools/boostdep/depinst/depinst.py lockfree | ||
- ./bootstrap.sh | ||
- ./b2 headers | ||
|
||
script: | ||
- |- | ||
echo "using $TOOLSET : : $TRAVIS_COMPILER ;" > ~/user-config.jam | ||
- ./b2 -j3 libs/lockfree/test toolset=$TOOLSET cxxstd=$CXXSTD | ||
|
||
notifications: | ||
email: | ||
on_success: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters