From 982227b633e020aaf9fa4ca880939d3641481c1c Mon Sep 17 00:00:00 2001 From: valeros Date: Thu, 26 Mar 2020 14:46:48 +0200 Subject: [PATCH] Switch espressif8266 platform to development branch in PlatformIO build --- tests/platformio.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/platformio.sh b/tests/platformio.sh index 4f1cbbb78c..e2d24859d7 100755 --- a/tests/platformio.sh +++ b/tests/platformio.sh @@ -7,8 +7,8 @@ source "$TRAVIS_BUILD_DIR"/tests/common.sh function install_platformio() { 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 + platformio platform install "https://github.com/platformio/platform-espressif8266.git" + 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 # Install dependencies: # - esp8266/examples/ConfigFile