Skip to content

Commit 0ff988e

Browse files
Merge pull request #97 from yegorich/travis-warnings
CI: treat gcc warnings as errors
2 parents 7a4dd73 + 55b0ba8 commit 0ff988e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ matrix:
1212
os: linux
1313
dist: trusty
1414
compiler: gcc
15-
script: ./autogen.sh && ./configure && make distcheck
15+
script: ./autogen.sh && ./configure CFLAGS="-Werror -Wno-unused-result" && make distcheck
1616

1717
- env: test="x64 5.0 (autotools)"
1818
os: linux
1919
dist: trusty
2020
compiler: clang
21-
script: ./autogen.sh && ./configure && make distcheck
21+
script: ./autogen.sh && ./configure CFLAGS="-Werror -Wno-unused-result" && make distcheck
2222

2323
- env: test="x64 4.8.4 (CMake gcc)"
2424
os: linux

0 commit comments

Comments
 (0)