1# Copyright 2016 Edward Diener 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 11os: 12 - linux 13 - osx 14 15branches: 16 only: 17 - master 18 - develop 19 20install: 21 - cd .. 22 - git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root 23 - cd boost-root 24 - git submodule update --init tools/build 25 - git submodule update --init libs/config 26 - git submodule update --init tools/boostdep 27 - git submodule update --init tools/boost_install 28 - git submodule update --init libs/headers 29 - cp -r $TRAVIS_BUILD_DIR/* libs/tti 30 - python tools/boostdep/depinst/depinst.py tti 31 - ./bootstrap.sh 32 - ./b2 headers 33 34script: 35 - TOOLSET=gcc,clang 36 - if [ $TRAVIS_OS_NAME == osx ]; then TOOLSET=clang; fi 37 - ./b2 --verbose-test libs/config/test//config_info toolset=$TOOLSET || true 38 - ./b2 libs/tti/test toolset=$TOOLSET 39 40notifications: 41 email: 42 on_success: always 43