language: python

python:
  - 2.7

sudo: false

cache:
  directories:
    - ~/.platformio

# include one array element for each sketch in examples/
env:
  - PLATFORMIO_CI_SRC=examples/BareMinimum/BareMinimum.ino
  - PLATFORMIO_CI_SRC=examples/MultipleDevices/MultipleDevices.ino
  - PLATFORMIO_BOARD=uno
  - PLATFORMIO_BOARD=due
  - PLATFORMIO_BOARD=huzzah
  - PLATFORMIO_BOARD=genuino101
  - PLATFORMIO_BOARD=teensy31

install:
  - pip install -U platformio

script:
  - env
  - echo $HOME
  - echo $TRAVIS_BUILD_DIR
  - ls -al $PWD
  # include at least one board from each platform:
  #   Platform        Board
  #   -------------   ----------
  #   atmelavr        uno
  #   atmelsam        due
  #   espressif8266   huzzah
  #   intel_arc32     genuino101
  #   teensy          teensy31
  - platformio ci --board=${PLATFORMIO_BOARD} --lib=. ${PLATFORMIO_CI_SRC}

language: python

python:
  - 2.7

sudo: false

cache:
  directories:
    - ~/.platformio

# include one array element for each sketch in examples/
env:
  - PLATFORMIO_CI_SRC=examples/BareMinimum/BareMinimum.ino
  - PLATFORMIO_CI_SRC=examples/MultipleDevices/MultipleDevices.ino

matrix:
  env:
    - PLATFORMIO_BOARD=uno
    - PLATFORMIO_BOARD=due
    - PLATFORMIO_BOARD=huzzah
    - PLATFORMIO_BOARD=genuino101
    - PLATFORMIO_BOARD=teensy31

install:
  - pip install -U platformio

script:
  - env
  - echo $HOME
  - echo $TRAVIS_BUILD_DIR
  - ls -al $PWD
  # include at least one board from each platform:
  #   Platform        Board
  #   -------------   ----------
  #   atmelavr        uno
  #   atmelsam        due
  #   espressif8266   huzzah
  #   intel_arc32     genuino101
  #   teensy          teensy31
  - platformio ci --board=${PLATFORMIO_BOARD} --lib=. ${PLATFORMIO_CI_SRC}

Move board env vars to matrix key
Move board env vars to matrix key
