From 9c3e606076a93a7a05b94ed6135e7dbbef2853b8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Mar 2019 09:36:24 +1100 Subject: [PATCH] CI: added configure-all.py to travis testing make sure all hwdef.dat files can be used --- .travis.yml | 2 +- Tools/scripts/build_ci.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2de3afe7e5..e2b06e848d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ matrix: compiler: "gcc" env: CI_BUILD_TARGET="revo-bootloader iofirmware stm32f7 stm32h7" - compiler: "gcc" - env: CI_BUILD_TARGET="revo-mini" + env: CI_BUILD_TARGET="revo-mini configure-all" - if: type != cron compiler: "gcc" env: CI_BUILD_TARGET="sitltest-copter" diff --git a/Tools/scripts/build_ci.sh b/Tools/scripts/build_ci.sh index 6b9ecb6a79..f93a3eea9b 100755 --- a/Tools/scripts/build_ci.sh +++ b/Tools/scripts/build_ci.sh @@ -117,6 +117,12 @@ for t in $CI_BUILD_TARGET; do continue fi + if [ "$t" == "configure-all" ]; then + echo "Checking configure of all boards" + ./Tools/scripts/configure_all.py + continue + fi + if [[ -n ${waf_supported_boards[$t]} && -z ${CI_CRON_JOB+1} ]]; then echo "Starting waf build for board ${t}..." $waf configure --board "$t" \