blob: 2b1e13f35817d990bf863bf3f6fd25862df3bb31 [file] [log] [blame]
Brian Silvermanea861c12018-08-04 17:43:02 -07001# 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
9branches:
10 only:
11 - master
12 - develop
13 - /feature\/.*/
14
15env:
16 matrix:
17 - BOGUS_JOB=true
18
19matrix:
20
21 exclude:
22 - env: BOGUS_JOB=true
23
24 include:
25 - os: linux
26 compiler: g++
27 env: TOOLSET=gcc CXXSTD=03,11
28
29 - os: linux
30 compiler: clang++
31 env: TOOLSET=clang CXXSTD=03,11,14,1z
32
33 - os: osx
34 compiler: clang++
35 env: TOOLSET=clang CXXSTD=03,11,14,1z
36
37install:
38 - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
39 - cd ..
40 - git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root
41 - cd boost-root
42 - git submodule update --init tools/build
43 - git submodule update --init libs/config
44 - git submodule update --init libs/core
45 - cp -r $TRAVIS_BUILD_DIR/* libs/assert
46 - ./bootstrap.sh
47 - ./b2 headers
48
49script:
50 - ./b2 libs/assert/test toolset=$TOOLSET cxxstd=$CXXSTD
51
52notifications:
53 email:
54 on_success: always