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:
@ -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()
|
||||
|
Reference in New Issue
Block a user