travis: Compile with warnings as errors

This commit is contained in:
Simon Arlott 2019-09-15 09:57:45 +01:00
parent 2f2a26fe9d
commit 004007982a
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -53,7 +53,7 @@ cache:
script:
- bash autogen.sh
- CC=$COMPILER ./configure --with-shared-sqlite
- CC=$COMPILER CFLAGS="-Wno-unused-value -Werror" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings
- make -j4
- "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
- make install