Add .travis.yml.

This commit is contained in:
Peter Dimov 2016-05-21 18:38:05 +03:00
parent 5500f3363c
commit d6e4fab051

40
.travis.yml Normal file
View File

@ -0,0 +1,40 @@
language: cpp
os:
- linux
- osx
branches:
only:
- master
- develop
install:
- git clone -b %TRAVIS_BRANCH% https://github.com/boostorg/boost.git boost
- cd boost
- git submodule init libs/bind
- git submodule init libs/assert
- git submodule init libs/config
- git submodule init libs/core
- git submodule init libs/function
- git submodule init libs/integer
- git submodule init libs/move
- git submodule init libs/mpl
- git submodule init libs/predef
- git submodule init libs/preprocessor
- git submodule init libs/smart_ptr
- git submodule init libs/static_assert
- git submodule init libs/throw_exception
- git submodule init libs/type_index
- git submodule init libs/type_traits
- git submodule init tools/build
- git submodule init tools/inspect
- git submodule update
- cd libs\bind
- git checkout -q %TRAVIS_COMMIT%
- cd ..\..
- bootstrap
- b2 headers
script:
- b2 libs/bind/test toolset=gcc,clang