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 addons: 35 apt: 36 packages: 37 - libstdc++-4.9-dev 38 sources: 39 - ubuntu-toolchain-r-test 40 41 - os: osx 42 compiler: clang++ 43 env: TOOLSET=clang CXXSTD=03,11,14,1z 44 45install: 46 - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true 47 - cd .. 48 - git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root 49 - cd boost-root 50 - git submodule update --init tools/build 51 - git submodule update --init libs/config 52 - git submodule update --init tools/boostdep 53 - cp -r $TRAVIS_BUILD_DIR/* libs/container 54 - python tools/boostdep/depinst/depinst.py container 55 - ./bootstrap.sh 56 - ./b2 headers 57 58script: 59 - ./b2 libs/container/test toolset=$TOOLSET cxxstd=$CXXSTD 60 61notifications: 62 email: 63 on_success: always 64