CI: treat gcc warning as errors

For now exclude unused-result warnings in order not to
affect current builds.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
This commit is contained in:
Yegor Yefremov
2018-09-13 10:38:19 +02:00
parent 7a4dd732af
commit 55b0ba8308
+2 -2
View File
@@ -12,13 +12,13 @@ matrix:
os: linux
dist: trusty
compiler: gcc
script: ./autogen.sh && ./configure && make distcheck
script: ./autogen.sh && ./configure CFLAGS="-Werror -Wno-unused-result" && make distcheck
- env: test="x64 5.0 (autotools)"
os: linux
dist: trusty
compiler: clang
script: ./autogen.sh && ./configure && make distcheck
script: ./autogen.sh && ./configure CFLAGS="-Werror -Wno-unused-result" && make distcheck
- env: test="x64 4.8.4 (CMake gcc)"
os: linux