2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

Test on GCC7 in C++14 and C++17 modes instead of testing on clang

This commit is contained in:
Antony Polukhin
2017-10-20 17:08:44 +03:00
parent 2007f2f339
commit 30d65a2ad4

View File

@@ -39,8 +39,10 @@ env:
matrix:
# Note that "--coverage -fsanitize=address,leak,undefined -DBOOST_TRAVISCI_BUILD" are added automatically lower in code
- CXX_FLAGS="-std=c++1y" LINK_FLAGS="" TOOLSET=gcc-6
- CXX_FLAGS="-std=c++14" LINK_FLAGS="" TOOLSET=gcc-7
- CXX_FLAGS="-std=c++17" LINK_FLAGS="" TOOLSET=gcc-7
#- CXX_FLAGS="-std=c++11 -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang
- CXX_FLAGS="-std=c++14 -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang-3.9
#- CXX_FLAGS="-std=c++14 -stdlib=libc++" LINK_FLAGS="-stdlib=libc++" TOOLSET=clang-3.9
###############################################################################################################
# From this point and below code is same for all the Boost libs
@@ -52,15 +54,17 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-3.9
- git-core
#- llvm-toolchain-trusty-3.9
packages:
- git
- python-yaml
- gcc-6
- g++-6
- clang-3.9
- libc++-dev
- gcc-7
- g++-7
#- clang-3.9
#- libc++-dev
before_install:
# Set this to the name of the library