Fixed travis yml syntax
This commit is contained in:
parent
e3bc95a811
commit
b4ffd26477
1 changed files with 0 additions and 4 deletions
|
@ -29,10 +29,6 @@ script:
|
||||||
local status = $(arduino --verify --board $BOARD $PWD/${d%/}/${d%/}.ino 2>&1)
|
local status = $(arduino --verify --board $BOARD $PWD/${d%/}/${d%/}.ino 2>&1)
|
||||||
if [ $status -ne 0 ]; then
|
if [ $status -ne 0 ]; then
|
||||||
# example build failed
|
# example build failed
|
||||||
echo -e "\033[0;31m${d%/} build failed"
|
|
||||||
exit $status
|
exit $status
|
||||||
else
|
|
||||||
# example build succeeded
|
|
||||||
echo -e "\033[0;32m${d%/} build passed"
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue