Browse Source

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.
master
Gustavo Jose de Sousa 9 years ago committed by Lucas De Marchi
parent
commit
6ca58eac78
  1. 4
      Tools/scripts/build_all_travis.sh

4
Tools/scripts/build_all_travis.sh

@ -69,6 +69,8 @@ for t in $TRAVIS_BUILD_TARGET; do @@ -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…
Cancel
Save