]>
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/align | |
23 | - git submodule init libs/assert | |
24 | - git submodule init libs/config | |
25 | - git submodule init libs/core | |
26 | - git submodule init libs/function | |
27 | - git submodule init libs/integer | |
28 | - git submodule init libs/move | |
29 | - git submodule init libs/mpl | |
30 | - git submodule init libs/predef | |
31 | - git submodule init libs/preprocessor | |
32 | - git submodule init libs/smart_ptr | |
33 | - git submodule init libs/static_assert | |
34 | - git submodule init libs/throw_exception | |
35 | - git submodule init libs/type_index | |
36 | - git submodule init libs/type_traits | |
37 | - git submodule init tools/build | |
38 | - git submodule init tools/inspect | |
39 | - git submodule update | |
40 | - cp -r $TRAVIS_BUILD_DIR/* libs/bind | |
41 | - ./bootstrap.sh | |
42 | - ./b2 headers | |
43 | ||
44 | script: | |
45 | - TOOLSET=gcc,clang | |
46 | - if [ $TRAVIS_OS_NAME == osx ]; then TOOLSET=clang; fi | |
47 | - ./b2 libs/bind/test toolset=$TOOLSET | |
48 | ||
49 | notifications: | |
50 | email: | |
51 | on_success: always |