Add -Werror to compile flags on Travis CI

-Werrors turns warnings into errors. It's useful to catch new warnings in CI
builds.
This commit is contained in:
Zeex 2017-12-30 15:57:06 +06:00
parent 615fc67600
commit 2c7659c65d

View File

@ -15,7 +15,7 @@ addons:
before_script:
- cmake source/compiler -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_C_FLAGS=-m32
-DCMAKE_C_FLAGS="-m32 -Werror"
-DCPACK_GENERATOR="TGZ;ZIP"
script: