forked from boostorg/container_hash
Use cxxstd to set language version
This commit is contained in:
17
.travis.yml
17
.travis.yml
@@ -12,19 +12,16 @@ 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 ;"
|
||||||
|
CXXSTD=03,11
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: |
|
env: |
|
||||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 ;"
|
USER_CONFIG="using clang : : clang++ -Werror -D_HAS_AUTO_PTR_ETC=0 ;"
|
||||||
- compiler: clang
|
CXXSTD=11
|
||||||
env: |
|
|
||||||
USER_CONFIG="using clang : : clang++ -Werror --std=c++11 -D_HAS_AUTO_PTR_ETC=0 ;"
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- export BOOST_VERSION=1.66.0
|
- export BOOST_VERSION=1.66.0
|
||||||
@@ -67,4 +64,4 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ${TRAVIS_BUILD_DIR}/test
|
- cd ${TRAVIS_BUILD_DIR}/test
|
||||||
- ${HOME}/opt/bin/b2 -q ${BJAM_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
- ${HOME}/opt/bin/b2 cxxstd=$CXXSTD -q ${BJAM_TOOLSET} include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
||||||
|
Reference in New Issue
Block a user