Skip to content

Commit 726df69

Browse files
authored
Switch espressif8266 platform to development branch in PlatformIO build (#7170)
1 parent d91f1da commit 726df69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: tests/platformio.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ source "$TRAVIS_BUILD_DIR"/tests/common.sh
77
function install_platformio()
88
{
99
pip3 install --user -U https://github.com/platformio/platformio/archive/develop.zip
10-
platformio platform install "https://github.com/platformio/platform-espressif8266.git#feature/stage"
11-
sed -i 's/https:\/\/github\.com\/esp8266\/Arduino\.git/*/' ~/.platformio/platforms/espressif8266/platform.json
10+
platformio platform install "https://github.com/platformio/platform-espressif8266.git"
11+
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()"
1212
ln -sf $TRAVIS_BUILD_DIR ~/.platformio/packages/framework-arduinoespressif8266
1313
# Install dependencies:
1414
# - esp8266/examples/ConfigFile

0 commit comments

Comments
 (0)