Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 052df0b

Browse files
committed
Update build-pio.sh
1 parent 5ea49e3 commit 052df0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

travis/build-pio.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ echo -e "travis_fold:start:install_pio"
66
pip install -U platformio
77
if [ $? -ne 0 ]; then exit 1; fi
88

9-
python -m platformio lib --storage-dir $PWD
9+
python -m platformio lib --storage-dir $TRAVIS_BUILD_DIR install
1010
if [ $? -ne 0 ]; then exit 1; fi
1111

1212
python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git
@@ -24,7 +24,7 @@ if [ $? -ne 0 ]; then exit 1; fi
2424
echo -e "travis_fold:end:install_pio"
2525

2626
echo -e "travis_fold:start:test_pio"
27-
for EXAMPLE in $PWD/examples/*/*.ino; do
27+
for EXAMPLE in $TRAVIS_BUILD_DIR/examples/*/*.ino; do
2828
python -m platformio ci $EXAMPLE -l '.' -b $BOARD
2929
if [ $? -ne 0 ]; then exit 1; fi
3030
done

0 commit comments

Comments
 (0)