forked from boostorg/unordered
Use boost build's new cxxstd feature
This commit is contained in:
24
.travis.yml
24
.travis.yml
@ -19,26 +19,20 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: |
|
env: |
|
||||||
label="gcc C++03";
|
label="gcc C++03/11";
|
||||||
user_config="using gcc : : g++-4.8 --coverage -fsanitize=address -Werror --std=c++03 ;"
|
user_config="using gcc : : g++-4.8 --coverage -fsanitize=address -Werror ;"
|
||||||
enable_coverage=1
|
|
||||||
- compiler: gcc
|
|
||||||
env: |
|
|
||||||
label="gcc C++11";
|
|
||||||
user_config="using gcc : : g++-4.8 --coverage -fsanitize=address -Werror --std=c++11 ;"
|
|
||||||
enable_coverage=1
|
enable_coverage=1
|
||||||
|
CXXSTD=03,11
|
||||||
- compiler: gcc
|
- compiler: gcc
|
||||||
env: |
|
env: |
|
||||||
label="gcc 32 bit C++11";
|
label="gcc 32 bit C++11";
|
||||||
user_config="using gcc : : g++-4.8 -m32 -fsanitize=address -Werror --std=c++11 ;"
|
user_config="using gcc : : g++-4.8 -m32 -fsanitize=address -Werror ;"
|
||||||
|
CXXSTD=11
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: |
|
env: |
|
||||||
label="clang C++17";
|
label="clang C++11/17";
|
||||||
user_config="using clang : : clang++ -fsanitize=address -Werror --std=c++17 ;"
|
user_config="using clang : : clang++ -fsanitize=address -Werror ;"
|
||||||
- compiler: clang
|
CXXSTD=11,17
|
||||||
env: |
|
|
||||||
label="clang C++11";
|
|
||||||
user_config="using clang : : clang++ -fsanitize=address -Werror --std=c++11 ;"
|
|
||||||
# sanitized=address not available for 32-bit clang on travis.
|
# sanitized=address not available for 32-bit clang on travis.
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
env: |
|
env: |
|
||||||
@ -98,5 +92,5 @@ after_success:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- cd ${TRAVIS_BUILD_DIR}/test
|
- cd ${TRAVIS_BUILD_DIR}/test
|
||||||
- bjam -q include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
- bjam cxxstd=$CXXSTD -q include=${BOOST_ROOT} include=${TRAVIS_BUILD_DIR}/include
|
||||||
- xmllint --noout ${TRAVIS_BUILD_DIR}/doc/ref.xml
|
- xmllint --noout ${TRAVIS_BUILD_DIR}/doc/ref.xml
|
||||||
|
Reference in New Issue
Block a user