Browse Source

travis: added revo-bootloader to CI

this ensures the bootloader build will keep working
master
Andrew Tridgell 7 years ago
parent
commit
4cafcc4eae
  1. 2
      .travis.yml
  2. 8
      Tools/scripts/build_ci.sh

2
.travis.yml

@ -72,7 +72,7 @@ matrix: @@ -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"

8
Tools/scripts/build_ci.sh

@ -92,6 +92,14 @@ for t in $CI_BUILD_TARGET; do @@ -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}..."

Loading…
Cancel
Save