mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
enable C++ 17 tests only on OS X
(the clang and gcc versions on Linux are too old)
This commit is contained in:
parent
42de1557b2
commit
9367071764
@ -38,7 +38,7 @@ before_script:
|
||||
sudo apt-get install python-pyparsing;
|
||||
fi
|
||||
- if [[ "$CXX" = "g++" && "$CONFIG" = "Debug" && "$TRAVIS_OS_NAME" = "linux" ]]; then export CXXFLAGS="--coverage"; fi
|
||||
- if [[ -n "${TESTS_CXX_STD:-}" ]]; then ADD_OPTS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi
|
||||
- if [[ -n "${TESTS_CXX_STD:-}" && "$TRAVIS_OS_NAME" = "osx" ]]; then ADD_OPTS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi
|
||||
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date $ADD_OPTS
|
||||
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user