forked from boostorg/functional
Use cxxstd in travis
This commit is contained in:
20
.travis.yml
20
.travis.yml
@@ -12,16 +12,12 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: |
|
env: |
|
||||||
USER_CONFIG="using gcc : : g++-4.8 -Werror --std=c++03 ;"
|
USER_CONFIG="using gcc : : g++-4.8 -Werror ;"
|
||||||
- compiler: gcc
|
CXXSTD=03,11
|
||||||
env: |
|
|
||||||
USER_CONFIG="using gcc : : g++-4.8 -Werror --std=c++11 ;"
|
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: |
|
env: |
|
||||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++03 ;"
|
USER_CONFIG="using clang : : clang++ -Werror ;"
|
||||||
- compiler: clang
|
CXXSTD=03,11
|
||||||
env: |
|
|
||||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 ;"
|
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: |
|
env: |
|
||||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 -D_HAS_AUTO_PTR_ETC=0 ;"
|
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 -D_HAS_AUTO_PTR_ETC=0 ;"
|
||||||
@@ -68,10 +64,10 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ${TRAVIS_BUILD_DIR}/test
|
- cd ${TRAVIS_BUILD_DIR}/test
|
||||||
- ${HOME}/opt/bin/b2 -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
- ${HOME}/opt/bin/b2 cxxstd=$CXXSTD -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
||||||
- cd ${TRAVIS_BUILD_DIR}/forward/test
|
- cd ${TRAVIS_BUILD_DIR}/forward/test
|
||||||
- ${HOME}/opt/bin/b2 -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
- ${HOME}/opt/bin/b2 cxxstd=$CXXSTD -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
||||||
- cd ${TRAVIS_BUILD_DIR}/factory/test
|
- cd ${TRAVIS_BUILD_DIR}/factory/test
|
||||||
- ${HOME}/opt/bin/b2 -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
- ${HOME}/opt/bin/b2 cxxstd=$CXXSTD -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
||||||
- cd ${TRAVIS_BUILD_DIR}/overloaded_function/test
|
- cd ${TRAVIS_BUILD_DIR}/overloaded_function/test
|
||||||
- ${HOME}/opt/bin/b2 -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
- ${HOME}/opt/bin/b2 cxxstd=$CXXSTD -q ${${HOME}/opt/bin/b2_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
||||||
|
Reference in New Issue
Block a user