travis: limit CI tests for 4.0 plane and copter branches

This commit is contained in:
Andrew Tridgell 2020-05-21 16:22:24 +10:00
parent 0816779fae
commit db8480f8cc
2 changed files with 3 additions and 8 deletions

View File

@ -60,16 +60,13 @@ matrix:
include: include:
- if: type != cron - if: type != cron
compiler: "gcc" compiler: "gcc"
env: CI_BUILD_TARGET="revo-bootloader periph-build CubeOrange-bootloader iofirmware stm32f7 stm32h7 fmuv2-plane" env: CI_BUILD_TARGET="stm32f7 stm32h7 fmuv2-plane"
- if: type != cron - if: type != cron
compiler: "gcc" compiler: "gcc"
env: CI_BUILD_TARGET="sitltest-copter" env: CI_BUILD_TARGET="sitltest-copter"
- if: type != cron - if: type != cron
compiler: "gcc" compiler: "gcc"
env: CI_BUILD_TARGET="sitltest-quadplane sitltest-plane" env: CI_BUILD_TARGET="sitltest-quadplane sitltest-plane"
- if: type != cron
compiler: "clang-7"
env: CI_BUILD_TARGET="sitltest-rover sitltest-sub sitltest-balancebot"
- if: type != cron - if: type != cron
compiler: "gcc" compiler: "gcc"
env: CI_BUILD_TARGET="unit-tests" env: CI_BUILD_TARGET="unit-tests"

View File

@ -171,7 +171,8 @@ for t in $CI_BUILD_TARGET; do
--check-c-compiler="$c_compiler" \ --check-c-compiler="$c_compiler" \
--check-cxx-compiler="$cxx_compiler" --check-cxx-compiler="$cxx_compiler"
$waf clean $waf clean
$waf all $waf copter
$waf plane
ccache -s && ccache -z ccache -s && ccache -z
if [[ $t == linux ]]; then if [[ $t == linux ]]; then
@ -180,11 +181,8 @@ for t in $CI_BUILD_TARGET; do
fi fi
done done
python Tools/autotest/param_metadata/param_parse.py --vehicle APMrover2
python Tools/autotest/param_metadata/param_parse.py --vehicle AntennaTracker
python Tools/autotest/param_metadata/param_parse.py --vehicle ArduCopter python Tools/autotest/param_metadata/param_parse.py --vehicle ArduCopter
python Tools/autotest/param_metadata/param_parse.py --vehicle ArduPlane python Tools/autotest/param_metadata/param_parse.py --vehicle ArduPlane
python Tools/autotest/param_metadata/param_parse.py --vehicle ArduSub
echo build OK echo build OK
exit 0 exit 0