Skip to content

Commit 52bf7c7

Browse files
authored
Merge pull request #71 from per1234/revert-fail-ci-on-warning
Revert "Fail Travis CI build on compiler warnings"
2 parents f5e5c6a + 779cb92 commit 52bf7c7

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)