diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-08-25 00:19:54 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2014-08-25 01:07:19 +0200 |
commit | 17a4adb0f27f1ce34b5e7b39f636d0d5f23cda49 (patch) | |
tree | 37e32b5317684436077f5f7e0a2fedbf40d1e027 /.travis/run.sh | |
parent | 4492ab547cca3f94807a75724b960af200434936 (diff) |
build: fail CI builds if a new warning is introduced
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to '.travis/run.sh')
-rwxr-xr-x | .travis/run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis/run.sh b/.travis/run.sh new file mode 100755 index 0000000..e7caf56 --- /dev/null +++ b/.travis/run.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +FLAGS="-Werror" + +if [ $CC = "clang" ]; then + FLAGS="$FLAGS -Wno-error=unused-command-line-argument" +fi + +./autogen.sh && ./configure && make CFLAGS="$FLAGS" |