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
parent
7a4dd732af
commit
55b0ba8308
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue