Fix the Travis-CI testing on OS X.

AppleClang 7.3 doesn't get along with CppUnit by default.
This commit is contained in:
Tsuda Kageyu 2017-05-23 16:52:56 +09:00
parent 4891ee729d
commit 6000a19f70

View File

@ -6,6 +6,8 @@ os:
- linux
- osx
dist: trusty
compiler:
- gcc
- clang
@ -24,5 +26,4 @@ matrix:
install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install cppunit; fi
script: cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_BINDINGS=ON . && make && make check
script: cmake -DBUILD_TESTS=ON -DBUILD_EXAMPLES=ON -DBUILD_BINDINGS=ON -DCMAKE_CXX_FLAGS="-std=c++11" . && make && make check