From 2c7659c65dcd7506b9083274a78aad0420f5ac7a Mon Sep 17 00:00:00 2001 From: Zeex Date: Sat, 30 Dec 2017 15:57:06 +0600 Subject: [PATCH] Add -Werror to compile flags on Travis CI -Werrors turns warnings into errors. It's useful to catch new warnings in CI builds. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 525f8bc..f69ff44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: