Travis: Treat warnings as errors (Linux/Clang)
@@ -84,6 +84,7 @@ before_script:
- SYSTEM_DIR="$PWD/kdbsystem"
- mkdir build && cd build
- CMAKE_OPT=()
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$CC" == "clang" ]]; then CMAKE_OPT+=("-DCOMMON_FLAGS=-Werror"); fi;
- echo $PATH
- plugins="ALL;-jni";
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
