kopia lustrzana https://github.com/jgromes/RadioLib
Travis added build output
rodzic
b4ffd26477
commit
4b3be2797a
10
.travis.yml
10
.travis.yml
|
@ -26,9 +26,13 @@ script:
|
|||
# build all example sketches
|
||||
- cd examples
|
||||
- for d in */ ; do
|
||||
local status = $(arduino --verify --board $BOARD $PWD/${d%/}/${d%/}.ino 2>&1)
|
||||
if [ $status -ne 0 ]; then
|
||||
arduino --verify --board $BOARD $PWD/${d%/}/${d%/}.ino;
|
||||
if [ $? -ne 0 ]; then
|
||||
# example build failed
|
||||
exit $status
|
||||
echo -e "\033[0;31m${d%/} build failed"
|
||||
exit 1
|
||||
else
|
||||
# example build succeeded
|
||||
echo -e "\033[0;32m${d%/} build passed"
|
||||
fi
|
||||
done
|
||||
|
|
Ładowanie…
Reference in New Issue