diff options
author | Thomas Haller <thaller@redhat.com> | 2018-01-16 07:35:54 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-01-16 07:42:28 (GMT) |
commit | 1e5dd2d886f68e8f598db0fb8ca46b614e1bf28f (patch) | |
tree | 30491132bf2e0c2ed4ca57cdc452d238a8adf2e3 | |
parent | 1acd0ed05185786deb33a329a4d692d8e07652b6 (diff) | |
download | libnl-1e5dd2d886f68e8f598db0fb8ca46b614e1bf28f.zip libnl-1e5dd2d886f68e8f598db0fb8ca46b614e1bf28f.tar.gz libnl-1e5dd2d886f68e8f598db0fb8ca46b614e1bf28f.tar.bz2 |
travis: enable more warnings during build
-rwxr-xr-x | .travis/run.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis/run.sh b/.travis/run.sh index 941037a..6ce2d66 100755 --- a/.travis/run.sh +++ b/.travis/run.sh @@ -2,13 +2,14 @@ set -e -CFLAGS="-Werror" +CFLAGS="-Werror -Wall -Wdeclaration-after-statement" if [ "$CC" = "clang" ]; then - CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument" + CFLAGS="$CFLAGS -Wno-error=unused-command-line-argument -Wno-error=unused-function" fi +export CFLAGS ./autogen.sh ./configure -make CFLAGS="$CFLAGS" -make CFLAGS="$CFLAGS" check +make -j 5 +make -j 5 check |