Build with boost 1.60 when using GCC 5 on Travis

This commit is contained in:
Thomas Goyne 2016-02-14 10:53:03 -08:00
parent c3f442aee8
commit 0dea29b369
1 changed files with 4 additions and 2 deletions

View File

@ -23,7 +23,9 @@ addons:
matrix: matrix:
include: include:
- compiler: gcc - compiler: gcc
env: BOOST_VERSION=55
- compiler: gcc - compiler: gcc
env: BOOST_VERSION=60
before_install: before_install:
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 --slave /usr/bin/gcov gcov /usr/bin/gcov-5 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 --slave /usr/bin/gcov gcov /usr/bin/gcov-5
@ -41,9 +43,9 @@ install:
- cd vendor - cd vendor
- rm -rf boost - rm -rf boost
- wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2/download - wget http://sourceforge.net/projects/boost/files/boost/1.${BOOST_VERSION}.0/boost_1_${BOOST_VERSION}_0.tar.bz2/download
- tar xjf download - tar xjf download
- mv boost_1_55_0 boost - mv boost_1_${BOOST_VERSION}_0 boost
- cd boost - cd boost
- ./bootstrap.sh - ./bootstrap.sh
- ./b2 -j3 -layout=system threading=multi cxxflags=-std=c++11 link=shared variant=release --without-python --without-iostreams --without-serialization --without-graph --without-log --without-math --without-signals --without-test --without-wave --without-mpi --without-program_options --without-graph_parallel --without-context --without-coroutine --without-random --without-timer --without-date_time - ./b2 -j3 -layout=system threading=multi cxxflags=-std=c++11 link=shared variant=release --without-python --without-iostreams --without-serialization --without-graph --without-log --without-math --without-signals --without-test --without-wave --without-mpi --without-program_options --without-graph_parallel --without-context --without-coroutine --without-random --without-timer --without-date_time