From 052df0b6a81a5edc6003d6fe2b0ff2d09f1525b1 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Sat, 21 Sep 2019 15:16:09 +0300 Subject: [PATCH] Update build-pio.sh --- travis/build-pio.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/travis/build-pio.sh b/travis/build-pio.sh index e2a3f3d..fe6530b 100644 --- a/travis/build-pio.sh +++ b/travis/build-pio.sh @@ -6,7 +6,7 @@ echo -e "travis_fold:start:install_pio" pip install -U platformio if [ $? -ne 0 ]; then exit 1; fi -python -m platformio lib --storage-dir $PWD +python -m platformio lib --storage-dir $TRAVIS_BUILD_DIR install if [ $? -ne 0 ]; then exit 1; fi python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git @@ -24,7 +24,7 @@ if [ $? -ne 0 ]; then exit 1; fi echo -e "travis_fold:end:install_pio" echo -e "travis_fold:start:test_pio" -for EXAMPLE in $PWD/examples/*/*.ino; do +for EXAMPLE in $TRAVIS_BUILD_DIR/examples/*/*.ino; do python -m platformio ci $EXAMPLE -l '.' -b $BOARD if [ $? -ne 0 ]; then exit 1; fi done