-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
58 lines (50 loc) · 1.33 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 2019 Joaquín M López Muñoz.
# Distributed under 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)
#
# See https://github.com/joaquintides/usingstdcpp2019 for talk material.
sudo: false
language: cpp
os: linux
branches:
only:
- master
env:
matrix:
- BOGUS_JOB=true
matrix:
exclude: # workaround for https://github.com/travis-ci/travis-ci/issues/4681
- env: BOGUS_JOB=true
include:
- os: linux
compiler: g++-8
env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=17
addons:
apt:
packages:
- g++-8
sources:
- ubuntu-toolchain-r-test
- os: linux
compiler: clang++-7
env: TOOLSET=clang COMPILER=clang++-7 CXXSTD=17
addons:
apt:
packages:
- clang-7
- g++-8
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-7
install:
- git clone -b master --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init
- ./bootstrap.sh
- ./b2 headers
- cd ..
script:
- |-
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
- ./boost-root/b2 -sBOOST_ROOT=$TRAVIS_BUILD_DIR/boost-root toolset=$TOOLSET cxxstd=$CXXSTD