Skip to content

Commit 14cf737

Browse files
committed
Only ignore unused functions when building for the ESP8266
This should be removed when the ESP8266 core is updated in PlatformIO: esp8266/Arduino#2881
1 parent 8f44b62 commit 14cf737

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ env:
6363

6464
install:
6565
- pip install -U platformio
66-
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -DDEBUG_USB_HOST -Wall -Werror -Wno-unused-function"
66+
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -DDEBUG_USB_HOST -Wall -Werror"
6767

6868
#
6969
# Libraries from PlatformIO Library Registry:
@@ -74,4 +74,6 @@ install:
7474
- platformio lib install 62 416 417
7575

7676
script:
77-
- platformio ci --board=uno --board=due --board=teensy30 --board=teensy31 --board=teensy35 --board=teensy36 --board=teensylc --board=esp12e --board=nodemcu --lib="."
77+
- platformio ci --lib="." --board=uno --board=due --board=teensy30 --board=teensy31 --board=teensy35 --board=teensy36 --board=teensylc
78+
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -Wno-unused-function" # Workaround https://github.com/esp8266/Arduino/pull/2881
79+
- platformio ci --lib="." --board=esp12e --board=nodemcu

0 commit comments

Comments
 (0)