travis: Compile with warnings as errors
This commit is contained in:
parent
2f2a26fe9d
commit
004007982a
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ cache:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bash autogen.sh
|
- 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
|
- make -j4
|
||||||
- "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
|
- "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
|
||||||
- make install
|
- make install
|
||||||
|
|
Loading…
Reference in a new issue