travis: added revo-bootloader to CI

this ensures the bootloader build will keep working
This commit is contained in:
Andrew Tridgell 2018-06-23 12:06:15 +10:00
parent ae1d1cad5e
commit 4cafcc4eae
2 changed files with 9 additions and 1 deletions

View File

@ -72,7 +72,7 @@ matrix:
fast_finish: true
include:
- compiler: "gcc"
env: CI_BUILD_TARGET="px4-v2"
env: CI_BUILD_TARGET="px4-v2 revo-bootloader"
- compiler: "gcc"
env: CI_BUILD_TARGET="px4-v4 revo-mini"
- compiler: "gcc"

View File

@ -92,6 +92,14 @@ for t in $CI_BUILD_TARGET; do
continue
fi
if [ $t == "revo-bootloader" ]; then
echo "Building revo bootloader"
$waf configure --board revo-mini --bootloader
$waf clean
$waf bootloader
continue
fi
# only do make-based builds for GCC, when target is PX4-v3 or build is launched by a scheduled job and target is a PX4 board or SITL
if [[ "$cxx_compiler" != "clang++" && ($t == "px4-v3" || (-n ${CI_CRON_JOB+1} && ($t == "px4"* || $t == "sitl"))) ]]; then
echo "Starting make based build for target ${t}..."