From 9015fb5a7f8f2bb1981dd5caa70904641c339341 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 16 Feb 2016 17:42:38 +0100 Subject: [PATCH] travis: set CFLAGS to error on cc warnings --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8ae46e34c4..7fbbedd115 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: c +env: + - CFLAGS="-Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function" compiler: - gcc - clang