travis: fix waf calls

The path to waf became wrong after the decision of using waf as a submodule.
This commit is contained in:
Gustavo Jose de Sousa 2015-12-07 16:33:25 -02:00 committed by Andrew Tridgell
parent 4f012b2b32
commit 9b7f365e3a
1 changed files with 6 additions and 4 deletions

View File

@ -33,8 +33,10 @@ build_concurrency=(["navio"]="-j2"
build_extra_clean=(["px4-v2"]="make px4-cleandep")
waf=modules/waf/waf-light
# get list of boards supported by the waf build
for board in $(./waf list_boards | head -n1); do waf_supported_boards[$board]=1; done
for board in $($waf list_boards | head -n1); do waf_supported_boards[$board]=1; done
echo "Targets: $TRAVIS_BUILD_TARGET"
for t in $TRAVIS_BUILD_TARGET; do
@ -57,8 +59,8 @@ for t in $TRAVIS_BUILD_TARGET; do
if [[ -n ${waf_supported_boards[$t]} ]]; then
echo "Starting waf build for board ${t}..."
./waf configure --board $t
./waf clean
./waf ${build_concurrency[$t]} build
$waf configure --board $t
$waf clean
$waf ${build_concurrency[$t]} build
fi
done