2015-05-22 23:00:46 +02:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
|
2015-10-19 16:57:59 +02:00
|
|
|
# Cache PlatformIO packages using Travis CI container-based infrastructure
|
2015-07-24 00:31:15 +02:00
|
|
|
sudo: false
|
2015-10-19 16:57:59 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "~/.platformio"
|
2015-07-24 00:31:15 +02:00
|
|
|
|
2016-04-24 01:38:08 +02:00
|
|
|
# Generated using: find examples -type f -name "*.ino" | rev | cut -d/ -f2- | rev | sed 's/^/ - PLATFORMIO_CI_SRC=/' > tmp.yml
|
2015-05-22 23:00:46 +02:00
|
|
|
env:
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/acm/acm_terminal
|
2015-05-23 16:14:11 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/adk/adk_barcode
|
|
|
|
- PLATFORMIO_CI_SRC=examples/adk/ArduinoBlinkLED
|
|
|
|
- PLATFORMIO_CI_SRC=examples/adk/demokit_20
|
|
|
|
- PLATFORMIO_CI_SRC=examples/adk/term_test
|
|
|
|
- PLATFORMIO_CI_SRC=examples/adk/term_time
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/BTHID
|
2015-05-23 16:14:11 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/PS3BT
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/PS3Multi
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/PS3SPP
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/PS4BT
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/SPP
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/SPPMulti
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/Wii
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiBalanceBoard
|
2017-02-01 11:20:09 +01:00
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiIRCamera PLATFORMIO_BUILD_FLAGS="-DWIICAMERA"
|
2015-05-23 16:14:11 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiMulti
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Bluetooth/WiiUProController
|
|
|
|
- PLATFORMIO_CI_SRC=examples/board_qc
|
|
|
|
- PLATFORMIO_CI_SRC=examples/cdc_XR21B1411/XR_terminal
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/ftdi/USBFTDILoopback
|
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/le3dp
|
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/scale
|
2016-04-24 01:38:08 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/SRWS1
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/USBHID_desc
|
2015-05-23 16:14:11 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/USBHIDBootKbd
|
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/USBHIDBootKbdAndMouse
|
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/USBHIDBootMouse
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/USBHIDJoystick
|
2016-04-24 01:38:08 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/HID/USBHIDMultimediaKbd
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/hub_demo
|
2015-05-23 16:14:11 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/max_LCD
|
|
|
|
- PLATFORMIO_CI_SRC=examples/pl2303/pl2303_gprs_terminal
|
|
|
|
- PLATFORMIO_CI_SRC=examples/pl2303/pl2303_gps
|
|
|
|
- PLATFORMIO_CI_SRC=examples/pl2303/pl2303_tinygps
|
|
|
|
- PLATFORMIO_CI_SRC=examples/pl2303/pl2303_xbee_terminal
|
|
|
|
- PLATFORMIO_CI_SRC=examples/PS3USB
|
|
|
|
- PLATFORMIO_CI_SRC=examples/PS4USB
|
|
|
|
- PLATFORMIO_CI_SRC=examples/PSBuzz
|
2016-04-24 01:38:08 +02:00
|
|
|
# - PLATFORMIO_CI_SRC=examples/testusbhostFAT
|
2015-05-23 14:14:04 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/USB_desc
|
2017-02-26 15:01:08 +01:00
|
|
|
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/bidirectional_converter
|
2016-04-24 01:38:08 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/eVY1_sample
|
|
|
|
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/USB_MIDI_converter
|
|
|
|
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/USB_MIDI_converter_multi
|
|
|
|
- PLATFORMIO_CI_SRC=examples/USBH_MIDI/USBH_MIDI_dump
|
2015-05-23 16:14:11 +02:00
|
|
|
- PLATFORMIO_CI_SRC=examples/Xbox/XBOXOLD
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Xbox/XBOXONE
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Xbox/XBOXRECV
|
|
|
|
- PLATFORMIO_CI_SRC=examples/Xbox/XBOXUSB
|
2015-05-22 23:00:46 +02:00
|
|
|
|
|
|
|
install:
|
2015-10-19 16:57:59 +02:00
|
|
|
- pip install -U platformio
|
2017-02-01 11:26:35 +01:00
|
|
|
- export PLATFORMIO_BUILD_FLAGS="$PLATFORMIO_BUILD_FLAGS -DDEBUG_USB_HOST -Wall -Werror"
|
2015-05-23 14:14:04 +02:00
|
|
|
|
2015-05-27 16:14:31 +02:00
|
|
|
#
|
|
|
|
# Libraries from PlatformIO Library Registry:
|
|
|
|
#
|
2016-04-24 02:02:33 +02:00
|
|
|
# http://platformio.org/lib/show/62/MIDI
|
|
|
|
# http://platformio.org/lib/show/416/TinyGPS
|
|
|
|
# http://platformio.org/lib/show/417/SPI4Teensy3
|
|
|
|
- platformio lib install 62 416 417
|
2015-05-22 23:00:46 +02:00
|
|
|
|
|
|
|
script:
|
2017-05-10 00:44:39 +02:00
|
|
|
- platformio ci --lib="." --board=uno --board=due --board=genuino101 --board=teensy30 --board=teensy31 --board=teensy35 --board=teensy36 --board=teensylc
|
|
|
|
- platformio ci --lib="." --board=esp12e --board=nodemcu --project-option="build_flags=-Wno-unused-function" # Workaround https://github.com/esp8266/Arduino/pull/2881
|