Added boost 1.56 to travis

This commit is contained in:
Mathieu Champlon 2015-08-28 10:34:50 +02:00
parent 77a4816c56
commit 203aa7bfa5

View file

@ -13,38 +13,27 @@ os:
- linux - linux
env: env:
- CXX_STANDARD=c++98 - CXX_STANDARD=c++98 BRANCH_TO_TEST=boost-1.56.0
- CXX_STANDARD=c++0x - CXX_STANDARD=c++0x BRANCH_TO_TEST=boost-1.56.0
- CXX_STANDARD=c++98 BRANCH_TO_TEST=master
- CXX_STANDARD=c++0x BRANCH_TO_TEST=master
before_install: before_install:
# Set this to the name of your Boost library # Set this to the name of your Boost library
# Autodetect library name by using the following code: - PROJECT_TO_TEST=$(basename $(pwd)) # Autodetect library name by using the following code: - PROJECT_TO_TEST=$(basename $(pwd))
- PROJECT_TO_TEST=$(basename $(pwd)) - PROJECT_TO_TEST=$(basename $(pwd))
# Autodetect Boost branch by using the following code: - BRANCH_TO_TEST=`git rev-parse --abbrev-ref HEAD`
# or by - BRANCH_TO_TEST=$TRAVIS_BRANCH or just directly specify it
- BRANCH_TO_TEST=master
# Files, which coverage results must be ignored (files from other projects). Example: - IGNORE_COVERAGE='*/boost/progress.hpp */filesystem/src/path.cpp' # Files, which coverage results must be ignored (files from other projects). Example: - IGNORE_COVERAGE='*/boost/progress.hpp */filesystem/src/path.cpp'
- IGNORE_COVERAGE='*/boost-local/*' - IGNORE_COVERAGE='*/boost-local/*'
# From this point and below code is same for all the Boost libs # From this point and below code is same for all the Boost libs
# Cloning Boost libraries (fast nondeep cloning) # Cloning Boost libraries (fast nondeep cloning)
- PROJECT_DIR=`pwd` - PROJECT_DIR=`pwd`
- BOOST=$HOME/boost-local - git --version
- git init $BOOST - BOOST=$HOME/boost
- git clone -b $BRANCH_TO_TEST https://github.com/boostorg/boost.git $BOOST
- cd $BOOST - cd $BOOST
- git remote add --no-tags -t $BRANCH_TO_TEST origin https://github.com/boostorg/boost.git
- git fetch --depth=1
- git checkout $BRANCH_TO_TEST
- git submodule update --init --merge - git submodule update --init --merge
- git remote set-branches --add origin $BRANCH_TO_TEST
- git pull --recurse-submodules
- git submodule update --init
- git checkout $BRANCH_TO_TEST
- git submodule foreach "git reset --quiet --hard; git clean -fxd"
- git reset --hard; git clean -fxd
- git status
- ./bootstrap.sh - ./bootstrap.sh
- ./b2 headers - ./b2 headers
- sudo apt-get install -qq xsltproc - sudo apt-get install -qq xsltproc