Compile with -Werror on Travis

This commit is contained in:
Éric Lemoine 2017-04-02 11:34:27 +02:00
parent 8bc481a043
commit 5abc2f3434

View File

@ -20,7 +20,7 @@ before_script:
- ./autogen.sh
script:
- ./configure CFLAGS="-Wall -O2 -g" --with-lazperf=/usr/local/
- ./configure CFLAGS="-Wall -Werror -O2 -g" --with-lazperf=/usr/local/
- make
- make check
- valgrind --leak-check=full --error-exitcode=1 lib/cunit/cu_tester