1# Copyright 2016, 2017 Peter Dimov 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) 4 5language: cpp 6 7sudo: false 8 9python: "2.7" 10 11branches: 12 only: 13 - master 14 - develop 15 - /feature\/.*/ 16 17env: 18 matrix: 19 - BOGUS_JOB=true 20 21matrix: 22 23 exclude: 24 - env: BOGUS_JOB=true 25 26 include: 27 - os: linux 28 compiler: g++ 29 env: TOOLSET=gcc CXXSTD=03,11 30 31 - os: linux 32 compiler: clang++ 33 env: TOOLSET=clang CXXSTD=03,11,14,1z 34 35 - os: osx 36 compiler: clang++ 37 env: TOOLSET=clang CXXSTD=03,11,14,1z 38 39install: 40 - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true 41 - cd .. 42 - git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root 43 - cd boost-root 44 - git submodule update --init tools/build 45 - git submodule update --init libs/config 46 - git submodule update --init tools/boostdep 47 - cp -r $TRAVIS_BUILD_DIR/* libs/foreach 48 - python tools/boostdep/depinst/depinst.py foreach 49 - ./bootstrap.sh 50 - ./b2 headers 51 52script: 53 - ./b2 libs/foreach/test toolset=$TOOLSET cxxstd=$CXXSTD 54 55notifications: 56 email: 57 on_success: always 58