travis-ci: Be more strict on build checks
After eliminating all warnings, we can disallow them for future builds. This is done by passing an additional "-Werror" flag from the Travis build step. Introducing new warnings will cause a (CI) build failure from now on. Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
This commit is contained in:
parent
b00b9a7fe9
commit
3cf1ef5b2f
@ -30,10 +30,10 @@ before_install:
|
||||
brew install libusb;
|
||||
fi
|
||||
|
||||
# build by simply using the Makefile
|
||||
# build using the Makefile, treat all warnings as errors
|
||||
script:
|
||||
- make
|
||||
- make misc
|
||||
- make EXTRA_CFLAGS=-Werror
|
||||
- make misc EXTRA_CFLAGS=-Werror
|
||||
|
||||
# turn off email notifications
|
||||
notifications:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user