Skip to content

Commit

Permalink
Setup Github CI (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev authored Sep 21, 2019
1 parent 2df3b8f commit 0a7b334
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion travis/build-pio.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
#!/bin/bash

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
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
platformio ci $EXAMPLE -l '.' -b esp12e
python -m platformio ci $EXAMPLE -l '.' -b esp12e
if [ $? -ne 0 ]; then exit 1; fi
done
echo -e "travis_fold:end:test_pio"

0 comments on commit 0a7b334

Please sign in to comment.