-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,38 @@ | ||
#!/bin/bash | ||
|
||
echo -e "travis_fold:start:install_pio" | ||
|
||
pip install -U platformio | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
echo -e "travis_fold:end:install_pio" | ||
|
||
python -m platformio lib --storage-dir $PWD | ||
echo -e "travis_fold:start:install_lib" | ||
python -m platformio lib --storage-dir $TRAVIS_BUILD_DIR install | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
|
||
echo -e "travis_fold:end:install_pio" | ||
echo -e "travis_fold:end:install_lib" | ||
|
||
echo -e "travis_fold:start:test_pio" | ||
for EXAMPLE in $PWD/examples/*/*.ino; do | ||
for EXAMPLE in $TRAVIS_BUILD_DIR/examples/*/*.ino; do | ||
python -m platformio ci $EXAMPLE -l '.' -b esp12e | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
done | ||
echo -e "travis_fold:end:test_pio" | ||
|
||
echo -e "travis_fold:start:install_json" | ||
python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
echo -e "travis_fold:end:install_json" | ||
|
||
cd $HOME/ | ||
echo -e "travis_fold:start:install_web_server" | ||
git clone https://github.com/me-no-dev/ESPAsyncWebServer | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
python -m platformio lib --storage-dir $HOME/ESPAsyncWebServer install | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
echo -e "travis_fold:end:install_web_server" | ||
|
||
echo -e "travis_fold:start:test_web_server" | ||
for EXAMPLE in $HOME/ESPAsyncWebServer/examples/*/*.ino; do | ||
python -m platformio ci $EXAMPLE -l $TRAVIS_BUILD_DIR -l $HOME/ESPAsyncWebServer -b esp12e | ||
if [ $? -ne 0 ]; then exit 1; fi | ||
done | ||
echo -e "travis_fold:end:test_web_server" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters