travis: Perform build tests with -Werror

This commit is contained in:
Martin Willi
2014-06-04 15:53:13 +02:00
parent 3b7b806d27
commit 95e67e8d19
+3 -1
View File
@@ -11,6 +11,8 @@ TARGET=check
DEPS="libgmp-dev"
CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign -Werror"
case "$TEST" in
default)
# should be the default, but lets make sure
@@ -69,4 +71,4 @@ CONFIG="$CONFIG
--enable-leak-detective=${LEAK_DETECTIVE-no}"
echo "$ ./configure $CONFIG && make $TARGET"
./configure $CONFIG && make -j4 $TARGET
CFLAGS="$CFLAGS" ./configure $CONFIG && make -j4 $TARGET