diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8672ce3 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,48 @@ +# Copyright 2016 Peter Dimov +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) + +language: cpp + +sudo: false + +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.sh + - ./b2 headers + +script: + - TOOLSET=gcc,clang + - if [ $TRAVIS_OS_NAME == osx ]; then TOOLSET=clang; fi + - ./b2 libs/bind/test toolset=$TOOLSET diff --git a/README.md b/README.md new file mode 100644 index 0000000..ebe5553 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# Boost.Bind + +Branch | Travis | Appveyor +---------|--------|--------- +Develop | [![Build Status](https://travis-ci.org/boostorg/bind.svg?branch=develop)](https://travis-ci.org/boostorg/bind) | [![Build Status](https://ci.appveyor.com/api/projects/status/github/boostorg/bind?branch=develop&svg=true)](https://ci.appveyor.com/project/pdimov/bind) +Master | [![Build Status](https://travis-ci.org/boostorg/bind.svg?branch=master)](https://travis-ci.org/boostorg/bind) | [![Build Status](https://ci.appveyor.com/api/projects/status/github/boostorg/bind?branch=master&svg=true)](https://ci.appveyor.com/project/pdimov/bind)