language: python

cache:
  directories:
  - "~/.platformio"

install:
- pip install -U platformio

env:
- BOARD=leonardo
- BOARD=micro
- BOARD=megaatmega2560
- BOARD=due
- BOARD=uno
- BOARD=yun

script:
- for e in $(find examples -name \*.ino); do
    platformio ci --board=$BOARD --lib=. $e;
  done

language: python

cache:
  directories:
  - "~/.platformio"

install:
- pip install -U platformio

env:
- BOARD=leonardo
- BOARD=micro
- BOARD=megaatmega2560
- BOARD=due
- BOARD=uno
- BOARD=yun

script:
- for e in examples/*; do
    platformio ci --board=$BOARD --lib=. $e/*;
  done

Make it work with example sketches that have multiple files
CI: Make it work with example sketches that have multiple files
