From 0a7b334a76efa58e4f87f256bc6fa5f9f3d1c6e7 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Sat, 21 Sep 2019 12:59:17 +0300 Subject: [PATCH] Setup Github CI (#124) --- travis/build-pio.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/travis/build-pio.sh b/travis/build-pio.sh index f482d40..28c804a 100644 --- a/travis/build-pio.sh +++ b/travis/build-pio.sh @@ -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"