Browse Source

CI: added peripheral build to travis

master
Andrew Tridgell 6 years ago
parent
commit
99bcab955b
  1. 2
      .travis.yml
  2. 12
      Tools/scripts/build_ci.sh

2
.travis.yml

@ -61,7 +61,7 @@ matrix: @@ -61,7 +61,7 @@ matrix:
include:
- if: type != cron
compiler: "gcc"
env: CI_BUILD_TARGET="revo-bootloader CubeOrange-bootloader iofirmware stm32f7 stm32h7 fmuv2-plane"
env: CI_BUILD_TARGET="revo-bootloader periph-build CubeOrange-bootloader iofirmware stm32f7 stm32h7 fmuv2-plane"
- if: type != cron
compiler: "gcc"
env: CI_BUILD_TARGET="sitltest-copter"

12
Tools/scripts/build_ci.sh

@ -93,6 +93,18 @@ for t in $CI_BUILD_TARGET; do @@ -93,6 +93,18 @@ for t in $CI_BUILD_TARGET; do
continue
fi
if [ "$t" == "periph-build" ]; then
echo "Building f103 bootloader"
$waf configure --board f103-periph --bootloader
$waf clean
$waf bootloader
echo "Building f103 peripheral fw"
$waf configure --board f103-periph
$waf clean
$waf AP_Periph
continue
fi
if [ "$t" == "CubeOrange-bootloader" ]; then
echo "Building CubeOrange bootloader"
$waf configure --board CubeOrange --bootloader

Loading…
Cancel
Save