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
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue