Use CI cloned version instead of master for @PlatformIO (#157)

This commit is contained in:
Ivan Kravets 2017-01-31 02:53:32 +02:00 committed by Me No Dev
parent 6bec26cfbf
commit 672631ddf0

View File

@ -34,6 +34,8 @@ script:
# test library examples with PlatformIO
- pip install -U https://github.com/platformio/platformio/archive/develop.zip
- platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage
- sed -i 's/https:\/\/github\.com\/espressif\/arduino-esp32\.git/*/' ~/.platformio/platforms/espressif32_stage/platform.json
- ln -s $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif32
- "python -c \"import glob,subprocess,sys; map(lambda p: (sys.stdout.write('Library example: %s\\n' % p), subprocess.call(['pio', 'ci', p, '--board', 'esp32dev'])), glob.glob('libraries/*/examples/*/'))\""
notifications: