Skip to content

Commit b3692cc

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 d9b32ad commit b3692cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

+3-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="-DDEBUG_USB_HOST -DWIICAMERA -Wall -Werror -Wno-unused-function"
66+
- export PLATFORMIO_BUILD_FLAGS="-DDEBUG_USB_HOST -DWIICAMERA -Wall -Werror"
6767

6868
#
6969
# Libraries from PlatformIO Library Registry:
@@ -74,4 +74,5 @@ 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+
- platformio ci --lib="." --board=esp12e --board=nodemcu --project-option="build_flags=-Wno-unused-function"

0 commit comments

Comments
 (0)