summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-08 16:17:31 +0200
committercgzones <cgzones@googlemail.com>2020-09-18 12:28:40 +0200
commitefb971f9df0a8f2ed908a19147ca7b0036b4515d (patch)
tree97ebb30c75e118a2f1552ff8795710acbc3b6ed0 /.travis.yml
parent475f729a364ce92999f67adba4d754babe12a266 (diff)
Fail travis CI on compiler warnings
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b3e358de..b86e5103 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,4 +9,9 @@ os:
- linux
- osx
-script: ./autogen.sh && ./configure && make
+script:
+ - ./autogen.sh
+ # clang might warn about C11 generic selections in isnan()
+ - CFLAGS=-Wno-c11-extensions ./configure --enable-werror
+ - make
+ - CFLAGS=-Wno-c11-extensions make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-werror

© 2014-2024 Faster IT GmbH | imprint | privacy policy