1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

fix CI: switch to python3 for pio (#7035)

This commit is contained in:
david gauchard
2020-01-25 22:55:34 +01:00
committed by GitHub
parent 158039e414
commit 6e37ee36f8
3 changed files with 10 additions and 9 deletions

View File

@ -6,13 +6,13 @@ source "$TRAVIS_BUILD_DIR"/tests/common.sh
function install_platformio()
{
pip install --user -U https://github.com/platformio/platformio/archive/develop.zip
pip3 install --user -U https://github.com/platformio/platformio/archive/develop.zip
platformio platform install "https://github.com/platformio/platform-espressif8266.git#feature/stage"
sed -i 's/https:\/\/github\.com\/esp8266\/Arduino\.git/*/' ~/.platformio/platforms/espressif8266/platform.json
ln -s $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif8266
ln -sf $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif8266
# Install dependencies:
# - esp8266/examples/ConfigFile
pio lib install "ArduinoJson@^6.11.0"
pio lib --global install "ArduinoJson@^6.11.0"
}
function build_sketches_with_platformio()