mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-07 16:23:38 +03:00
Switch espressif8266 platform to development branch in PlatformIO build (#7170)
This commit is contained in:
parent
d91f1dac36
commit
726df6967c
@ -7,8 +7,8 @@ source "$TRAVIS_BUILD_DIR"/tests/common.sh
|
|||||||
function install_platformio()
|
function install_platformio()
|
||||||
{
|
{
|
||||||
pip3 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"
|
platformio platform install "https://github.com/platformio/platform-espressif8266.git"
|
||||||
sed -i 's/https:\/\/github\.com\/esp8266\/Arduino\.git/*/' ~/.platformio/platforms/espressif8266/platform.json
|
python -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/espressif8266/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoespressif8266']['version'] = '*'; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()"
|
||||||
ln -sf $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif8266
|
ln -sf $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif8266
|
||||||
# Install dependencies:
|
# Install dependencies:
|
||||||
# - esp8266/examples/ConfigFile
|
# - esp8266/examples/ConfigFile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user