File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,11 @@ matrix:
129129 compiler : clang
130130 env :
131131 - COMPILER=clang++ BUILD_TYPE=Release
132+ - os : osx
133+ osx_image : xcode8.3
134+ compiler : gcc
135+ env :
136+ - COMPILER=g++-7 C_COMPILER=gcc-7 BUILD_TYPE=Debug
132137
133138before_script :
134139 - if [ -z "$BUILD_32_BITS" ]; then
@@ -145,6 +150,11 @@ install:
145150 pip install --user --upgrade pip;
146151 pip install --user cpp-coveralls;
147152 fi
153+ - if [ "${C_COMPILER}" == "gcc-7" -a "${TRAVIS_OS_NAME}" == "osx" ]; then
154+ rm -f /usr/local/include/c++;
155+ brew update;
156+ brew install gcc@7;
157+ fi
148158
149159script :
150160 - cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_FLAGS="${EXTRA_FLAGS}" -DBENCHMARK_BUILD_32_BITS=${BUILD_32_BITS} ..
You can’t perform that action at this time.
0 commit comments