mirror of https://github.com/ArduPilot/ardupilot
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 clean
|
||||
$waf ${build_concurrency[$t]} build
|
||||
[[ $t == linux ]] && $waf check
|
||||
if [[ $t == linux ]]; then
|
||||
$waf check
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue