From 38ed04fe771428f59e7a6246bde56887b80556d1 Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Tue, 19 Apr 2016 12:03:39 +0200 Subject: [PATCH] Turn on warnings when building using Travis and make all warnings errors This should catch warnings when people are sending PRs. For instance: https://github.com/felis/USB_Host_Shield_2.0/commit/178af85a26159fc0ca5371fffabd6eafd2b48030 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2aba1c47..9a6d94c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,7 @@ env: install: - pip install -U platformio - - export PLATFORMIO_BUILD_FLAGS="-DDEBUG_USB_HOST -DWIICAMERA" + - export PLATFORMIO_BUILD_FLAGS="-DDEBUG_USB_HOST -DWIICAMERA -Wall -Werror" # # Libraries from PlatformIO Library Registry: