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

Setup Github CI #124

Merged
merged 1 commit into from
Sep 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"