69 lines
3.0 KiB
YAML
69 lines
3.0 KiB
YAML
language: python
|
|
python:
|
|
- "3.6"
|
|
|
|
# Cache PlatformIO packages using Travis CI container-based infrastructure
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- "~/.platformio"
|
|
|
|
env:
|
|
- PLATFORMIO_CI_SRC=Examples/DeepSleep
|
|
- PLATFORMIO_CI_SRC=Examples/DeepSleep_usingLowPowerLibrary
|
|
- PLATFORMIO_CI_SRC=Examples/DoorBellMote
|
|
- PLATFORMIO_CI_SRC=Examples/GarageMote
|
|
- PLATFORMIO_CI_SRC=Examples/Gateway
|
|
- PLATFORMIO_CI_SRC=Examples/IOShield
|
|
- PLATFORMIO_CI_SRC=Examples/MailboxNotifier
|
|
- PLATFORMIO_CI_SRC=Examples/MightyBoostControl
|
|
- PLATFORMIO_CI_SRC=Examples/MightyHat
|
|
- PLATFORMIO_CI_SRC=Examples/MotionMote/MotionMote.ino
|
|
- PLATFORMIO_CI_SRC=Examples/Node
|
|
- PLATFORMIO_CI_SRC=Examples/OLEDMote
|
|
- PLATFORMIO_CI_SRC=Examples/PiGateway_Basic/PiGateway_Basic.ino
|
|
- PLATFORMIO_CI_SRC=Examples/PiGateway/PiGateway.ino
|
|
- PLATFORMIO_CI_SRC=Examples/PulseMeter
|
|
- PLATFORMIO_CI_SRC=Examples/RandomNumbers
|
|
- PLATFORMIO_CI_SRC=Examples/SonarMote/SonarMote_DistanceReader/SonarMote_DistanceReader.ino
|
|
- PLATFORMIO_CI_SRC=Examples/SonarMote/SonarMote_DistanceTracker/SonarMote_DistanceTracker.ino
|
|
- PLATFORMIO_CI_SRC=Examples/SonarMote/SonarMote_Parking/SonarMote_Parking.ino
|
|
- PLATFORMIO_CI_SRC=Examples/SonarMote/SonarMote_Parking_Sound_OLED/SonarMote_Parking_Sound_OLED.ino
|
|
- PLATFORMIO_CI_SRC=Examples/Struct_receive
|
|
- PLATFORMIO_CI_SRC=Examples/Struct_send
|
|
- PLATFORMIO_CI_SRC=Examples/TxRxBlinky
|
|
- PLATFORMIO_CI_SRC=Examples/WeatherNode
|
|
- PLATFORMIO_CI_SRC=Examples/WirelessProgramming_OTA/Target
|
|
- PLATFORMIO_CI_SRC=Examples/WirelessProgramming_OTA/Programmer
|
|
- PLATFORMIO_CI_SRC=Examples/TxPowerTest_Transmitter
|
|
- PLATFORMIO_CI_SRC=Examples/TxPowerTest_Receiver
|
|
- PLATFORMIO_CI_SRC=Examples/RangeTest_Gateway
|
|
- PLATFORMIO_CI_SRC=Examples/RangeTest_Transmitter
|
|
|
|
install:
|
|
- pip install -U platformio
|
|
- platformio update
|
|
|
|
# Libraries from PlatformIO Library Registry:
|
|
# https://platformio.org/lib/show/7/U8glib
|
|
# https://platformio.org/lib/show/11817/LowPower
|
|
# https://platformio.org/lib/show/125/SPIFlash
|
|
# https://platformio.org/lib/show/131/TimerOne
|
|
# https://platformio.org/lib/show/136/LiquidCrystal
|
|
# https://platformio.org/lib/show/170/EEPROMEx
|
|
# https://platformio.org/lib/show/176/NewPing
|
|
# https://platformio.org/lib/show/531/WirelessHEX69
|
|
# https://platformio.org/lib/show/532/BMP180
|
|
# https://platformio.org/lib/show/536/Si7021
|
|
# https://platformio.org/lib/show/684/Sparkfun BME280
|
|
# https://platformio.org/lib/show/560/Streaming
|
|
# https://platformio.org/lib/show/6230/PString-Arduino-lib
|
|
# https://platformio.org/lib/show/942/U8g2
|
|
|
|
- platformio lib --global install 7 11817 125 131 136 170 176 531 532 536 684 6230 942
|
|
- platformio lib --global install http://arduiniana.org/Streaming/Streaming5.zip
|
|
|
|
script:
|
|
#- platformio ci --board=moteino --project-option="lib_compat_mode=strict" --project-option="build_flags=-I include" --project-option="lib_deps=Streaming" --lib=.
|
|
- platformio ci --board=moteino --lib=.
|