Test nested examples with @PlatformIO (#172)

This commit is contained in:
Ivan Kravets 2017-02-05 16:59:10 +02:00 committed by Me No Dev
parent a80b2b24a4
commit 9101e1366e

View File

@ -36,7 +36,7 @@ script:
- platformio platform install https://github.com/platformio/platform-espressif32.git#feature/stage - 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 - 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 - 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/*/'))\"" - "python -c \"import glob,os,subprocess,sys; map(lambda p: (sys.stdout.write('Library example: %s\\n' % p), subprocess.call(['pio', 'ci', p, '--board', 'esp32dev'])), set([os.path.dirname(p) for p in glob.glob('libraries/*/examples/*/*.ino') + glob.glob('libraries/*/examples/*/*/*.ino')]))\""
notifications: notifications:
email: email: