Minor fixes for PlatformIO (#881)

* Don't escape folders which are already arguments

* Drop "stage" suffix from @platformio dev/platform
This commit is contained in:
Ivan Kravets 2017-11-26 20:35:21 +02:00 committed by Me No Dev
parent 6fe9202c6c
commit dac7ae757a

View File

@ -39,7 +39,7 @@ script:
- echo -e "travis_fold:start:platformio_test_env_prepare" - echo -e "travis_fold:start:platformio_test_env_prepare"
- pip install -U https://github.com/platformio/platformio/archive/develop.zip - pip install -U https://github.com/platformio/platformio/archive/develop.zip
- 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/platform.json
- ln -s $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif32 - ln -s $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif32
- echo -e "travis_fold:end:platformio_test_env_prepare" - echo -e "travis_fold:end:platformio_test_env_prepare"
- echo -e "travis_fold:start:platformio_test" - echo -e "travis_fold:start:platformio_test"