]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | # Copyright 2016 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 | ||
5 | language: cpp | |
6 | ||
7 | sudo: false | |
8 | ||
9 | os: | |
10 | - linux | |
11 | - osx | |
12 | ||
13 | branches: | |
14 | only: | |
15 | - master | |
16 | - develop | |
17 | ||
18 | install: | |
19 | - cd .. | |
20 | - git clone -b $TRAVIS_BRANCH https://github.com/boostorg/boost.git boost-root | |
21 | - cd boost-root | |
22 | - git submodule init libs/config | |
23 | - git submodule init libs/core | |
24 | - git submodule init tools/build | |
25 | - git submodule update | |
26 | - cp -r $TRAVIS_BUILD_DIR/* libs/assert | |
27 | - ./bootstrap.sh | |
28 | - ./b2 headers | |
29 | ||
30 | script: | |
31 | - TOOLSET=gcc,clang | |
32 | - if [ $TRAVIS_OS_NAME == osx ]; then TOOLSET=clang; fi | |
33 | - ./b2 libs/assert/test toolset=$TOOLSET | |
34 | ||
35 | notifications: | |
36 | email: | |
37 | on_success: always |