language: python
python:
    - "2.7"

# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
    directories:
        - "~/.platformio"

env:
    - PLATFORMIO_CI_SRC=examples/SPIFlash_ReadWrite/SPIFlash_ReadWrite.ino

install:
    - pip install -U platformio

script:
    - platformio ci --lib=. --board=moteino --board uno --board=moteinomega
