build: off
environment:

  matrix:
    - PLATFORMIO_PROJECT_DIR: "examples/arduino-blink"
    - PLATFORMIO_PROJECT_DIR: "examples/eval-blink"
    - PLATFORMIO_PROJECT_DIR: "examples/longan-nano-blink"

install:
- cmd: git submodule update --init --recursive
- cmd: SET PATH=C:\Python36\Scripts;%PATH%
- cmd: pip3 install -U https://github.com/platformio/platformio/archive/develop.zip
- cmd: pio pkg install --global --platform symlink://.

test_script:
- cmd: platformio run -d %PLATFORMIO_PROJECT_DIR%
