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

Commit 0a7b334

Browse files
authored
Setup Github CI (#124)
1 parent 2df3b8f commit 0a7b334

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

travis/build-pio.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
#!/bin/bash
22

33
echo -e "travis_fold:start:install_pio"
4+
45
pip install -U platformio
6+
if [ $? -ne 0 ]; then exit 1; fi
7+
8+
python -m platformio lib --storage-dir $PWD
9+
if [ $? -ne 0 ]; then exit 1; fi
10+
511
echo -e "travis_fold:end:install_pio"
612

713
echo -e "travis_fold:start:test_pio"
814
for EXAMPLE in $PWD/examples/*/*.ino; do
9-
platformio ci $EXAMPLE -l '.' -b esp12e
15+
python -m platformio ci $EXAMPLE -l '.' -b esp12e
16+
if [ $? -ne 0 ]; then exit 1; fi
1017
done
1118
echo -e "travis_fold:end:test_pio"

0 commit comments

Comments
 (0)