• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: g++-5
33      env: TOOLSET=gcc-5 CXXSTD=03,11,14,1z
34      addons:
35        apt:
36          packages:
37            - g++-5
38          sources:
39            - ubuntu-toolchain-r-test
40
41    - os: linux
42      compiler: g++-6
43      env: TOOLSET=gcc-6 CXXSTD=03,11,14,1z
44      addons:
45        apt:
46          packages:
47            - g++-6
48          sources:
49            - ubuntu-toolchain-r-test
50
51    - os: linux
52      compiler: g++-7
53      env: TOOLSET=gcc-7 CXXSTD=03,11,14,17
54      addons:
55        apt:
56          packages:
57            - g++-7
58          sources:
59            - ubuntu-toolchain-r-test
60
61    - os: linux
62      compiler: clang++
63      env: TOOLSET=clang CXXSTD=03,11,14,1z
64      addons:
65        apt:
66          packages:
67            - libstdc++-4.9-dev
68          sources:
69            - ubuntu-toolchain-r-test
70
71    - os: osx
72      compiler: clang++
73      env: TOOLSET=clang CXXSTD=03,11,14,1z
74
75install:
76  - BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
77  - cd ..
78  - git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root
79  - cd boost-root
80  - git submodule update --init tools/build
81  - git submodule update --init libs/config
82  - git submodule update --init tools/boostdep
83  - cp -r $TRAVIS_BUILD_DIR/* libs/icl
84  - python tools/boostdep/depinst/depinst.py icl
85  - ./bootstrap.sh
86  - ./b2 headers
87
88script:
89  - ./b2 -j 3 libs/icl/test toolset=$TOOLSET cxxstd=$CXXSTD
90
91notifications:
92  email:
93    on_success: always
94