1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Update PIO CI to be less chatty, fix CI fail (#7530)

Remove get.py percent dump to shorten PIO output 99%.

Use latest release version of PIO, not bleeding edge, to fix
failures introduced in devel (non-release) PIO versions.
Thanks, @mcspr, for noticing this!
This commit is contained in:
Earle F. Philhower, III 2020-08-16 11:41:42 -07:00 committed by GitHub
parent e0fedc577b
commit e2b8f6acfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,10 +6,10 @@ 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 -U platformio
platformio platform install "https://github.com/platformio/platform-espressif8266.git" platformio platform install "https://github.com/platformio/platform-espressif8266.git"
# Overwrite toolchain with this PR's toolset. Probably better way to do this # Overwrite toolchain with this PR's toolset. Probably better way to do this
( cd $TRAVIS_BUILD_DIR/tools && python3 get.py ) ( cd $TRAVIS_BUILD_DIR/tools && python3 get.py -q )
mv ~/.platformio/packages/toolchain-xtensa/package.json .save mv ~/.platformio/packages/toolchain-xtensa/package.json .save
rm -rf ~/.platformio/packages/toolchain-xtensa rm -rf ~/.platformio/packages/toolchain-xtensa
mv $TRAVIS_BUILD_DIR/tools/xtensa-lx106-elf ~/.platformio/packages/toolchain-xtensa mv $TRAVIS_BUILD_DIR/tools/xtensa-lx106-elf ~/.platformio/packages/toolchain-xtensa