Skip to content

Commit 779cb92

Browse files
committed
Revert "Fail Travis CI build on compiler warnings"
This reverts commit f43c0fb. It was eventually determined that failing the CI build on compiler warnings while compiling examples was too problematic due to the fact that warnings may be caused by external code.
1 parent f5e5c6a commit 779cb92

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ language: generic
22
env:
33
global:
44
- CLI_VERSION=latest
5-
- EXTRA_COMPILER_WARNING_FLAGS="-Wpedantic -Werror"
65
matrix:
76
include:
87
- env:
@@ -74,8 +73,8 @@ before_install:
7473
- installLibrary arduino-libraries/WiFi101
7574
- installLibrary arduino-libraries/WiFiNINA
7675
- installLibrary arduino-libraries/Ethernet
77-
- buildExampleSketch() { arduino-cli compile --warnings all --build-properties compiler.c.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.cpp.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.S.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --fqbn $BOARD $PWD/examples/$1; }
78-
- buildExampleUtilitySketch() { arduino-cli compile --warnings all --build-properties compiler.c.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.cpp.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --build-properties compiler.S.extra_flags="${EXTRA_COMPILER_WARNING_FLAGS}" --fqbn $BOARD $PWD/examples/utility/$1; }
76+
- buildExampleSketch() { arduino-cli compile --warnings all --fqbn $BOARD $PWD/examples/$1; }
77+
- buildExampleUtilitySketch() { arduino-cli compile --warnings all --fqbn $BOARD $PWD/examples/utility/$1; }
7978
install:
8079
- mkdir -p $HOME/Arduino/libraries
8180
- ln -s $PWD $HOME/Arduino/libraries/.

0 commit comments

Comments
 (0)