mirror of
https://github.com/boostorg/functional.git
synced 2025-07-31 04:57:16 +02:00
Use boost 1.65 in travis
Also copied some other things that I've found to work well.
This commit is contained in:
41
.travis.yml
41
.travis.yml
@ -11,40 +11,45 @@ language: c++
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libboost-dev
|
||||
- libboost-tools-dev
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- compiler: gcc
|
||||
env: BJAM_TOOLSET=gcc-std03
|
||||
env: |
|
||||
USER_CONFIG="using gcc : : g++-4.8 -Werror --std=c++03 ;"
|
||||
- compiler: gcc
|
||||
env: BJAM_TOOLSET=gcc-std11
|
||||
env: |
|
||||
USER_CONFIG="using gcc : : g++-4.8 -Werror --std=c++11 ;"
|
||||
- compiler: clang
|
||||
env: BJAM_TOOLSET=clang-std03
|
||||
env: |
|
||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++03 ;"
|
||||
- compiler: clang
|
||||
env: BJAM_TOOLSET=clang-std11
|
||||
env: |
|
||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 ;"
|
||||
- compiler: clang
|
||||
env: BJAM_TOOLSET=clang-pretend_no_auto_ptr_etc
|
||||
env: |
|
||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 -D_HAS_AUTO_PTR_ETC=0 ;"
|
||||
|
||||
before_script:
|
||||
- |
|
||||
echo "using gcc : std03 : g++-4.8 -Werror --std=c++03 ;" > ~/user-config.jam
|
||||
echo "using gcc : std11 : g++-4.8 -Werror --std=c++11 ;" >> ~/user-config.jam
|
||||
echo "using clang : std03 : clang++ -Werror --std=c++03 ;" >> ~/user-config.jam
|
||||
echo "using clang : std11 : clang++ -Werror --std=c++11 ;" >> ~/user-config.jam
|
||||
echo "using clang : pretend_no_auto_ptr_etc : clang++ -Werror --std=c++11 -D_HAS_AUTO_PTR_ETC=0 ;" >> ~/user-config.jam
|
||||
- cat ~/user-config.jam
|
||||
- cd ${TRAVIS_BUILD_DIR}
|
||||
- touch Jamroot.jam
|
||||
- cd $HOME
|
||||
- echo $USER_CONFIG > ~/user-config.jam
|
||||
- cat ~/user-config.jam
|
||||
- wget -O boost.tar.bz2 https://dl.bintray.com/boostorg/release/1.65.0/source/boost_1_65_0.tar.bz2
|
||||
- tar -xjf boost.tar.bz2
|
||||
- mv boost_1_* boost
|
||||
- rm -r boost/boost/functional
|
||||
|
||||
script:
|
||||
- cd ${TRAVIS_BUILD_DIR}/test
|
||||
- bjam -q ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
||||
- bjam -q ${BJAM_TOOLSET} include=${HOME}/boost include=${TRAVIS_BUILD_DIR}/include
|
||||
- cd ${TRAVIS_BUILD_DIR}/hash/test
|
||||
- bjam -q ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
||||
- bjam -q ${BJAM_TOOLSET} include=${HOME}/boost include=${TRAVIS_BUILD_DIR}/include
|
||||
- cd ${TRAVIS_BUILD_DIR}/forward/test
|
||||
- bjam -q ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
||||
- bjam -q ${BJAM_TOOLSET} include=${HOME}/boost include=${TRAVIS_BUILD_DIR}/include
|
||||
- cd ${TRAVIS_BUILD_DIR}/factory/test
|
||||
- bjam -q ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
||||
- bjam -q ${BJAM_TOOLSET} include=${HOME}/boost include=${TRAVIS_BUILD_DIR}/include
|
||||
- cd ${TRAVIS_BUILD_DIR}/overloaded_function/test
|
||||
- bjam -q ${BJAM_TOOLSET} include=${TRAVIS_BUILD_DIR}/include
|
||||
- bjam -q ${BJAM_TOOLSET} include=${HOME}/boost include=${TRAVIS_BUILD_DIR}/include
|
||||
|
Reference in New Issue
Block a user