Skip to content

Commit

Permalink
Only ignore unused functions when building for the ESP8266
Browse files Browse the repository at this point in the history
This should be removed when the ESP8266 core is updated in PlatformIO: esp8266/Arduino#2881
  • Loading branch information
Lauszus committed Feb 1, 2017
1 parent 8f44b62 commit 14cf737
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ env:

install:
- pip install -U platformio
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -DDEBUG_USB_HOST -Wall -Werror -Wno-unused-function"
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -DDEBUG_USB_HOST -Wall -Werror"

#
# Libraries from PlatformIO Library Registry:
Expand All @@ -74,4 +74,6 @@ install:
- platformio lib install 62 416 417

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

0 comments on commit 14cf737

Please sign in to comment.