Skip to content

Commit 93707d4

Browse files
committed
fix build_sketch_cli result handling
1 parent 8d193b1 commit 93707d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

travis/common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function build_sketch_cli()
3434
local sketch=$1
3535
local board=$2
3636
arduino-cli --log --log-level info compile -b "$board" "$sketch"
37+
result=$?
3738
if [ $result -ne 0 ]; then
3839
echo "Build failed ($sketch) build verbose..."
3940
arduino-cli --log --log-level debug compile -b "$board" "$sketch"

0 commit comments

Comments
 (0)