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>
pull/97/head
Yegor Yefremov 2018-09-13 10:38:19 +02:00
parent 7a4dd732af
commit 55b0ba8308
1 changed files with 2 additions and 2 deletions

View File

@ -12,13 +12,13 @@ matrix:
os: linux os: linux
dist: trusty dist: trusty
compiler: gcc 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)" - env: test="x64 5.0 (autotools)"
os: linux os: linux
dist: trusty dist: trusty
compiler: clang 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)" - env: test="x64 4.8.4 (CMake gcc)"
os: linux os: linux