mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
travis: fix verification for calling waf check
The use of `[[ $t == linux ]] && $waf check` makes the script exit with non-zero status when $t isn't linux *and* that's the last thing executed.
This commit is contained in:
parent
bc5210d6f2
commit
6ca58eac78
@ -69,6 +69,8 @@ for t in $TRAVIS_BUILD_TARGET; do
|
|||||||
$waf configure --board $t
|
$waf configure --board $t
|
||||||
$waf clean
|
$waf clean
|
||||||
$waf ${build_concurrency[$t]} build
|
$waf ${build_concurrency[$t]} build
|
||||||
[[ $t == linux ]] && $waf check
|
if [[ $t == linux ]]; then
|
||||||
|
$waf check
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user