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:
parent
615fc67600
commit
2c7659c65d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user