mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
travis-ci properly handle build config name
This commit is contained in:
+2
-9
@@ -100,19 +100,12 @@ script:
|
|||||||
- git submodule update --quiet --init --recursive
|
- git submodule update --quiet --init --recursive
|
||||||
- echo 'Building POSIX Firmware..' && make posix_sitl_default
|
- echo 'Building POSIX Firmware..' && make posix_sitl_default
|
||||||
- echo 'Running Tests..' && make posix_sitl_default test
|
- echo 'Running Tests..' && make posix_sitl_default test
|
||||||
- build_configs="\
|
- build_configs="px4fmu-v1_default px4fmu-v2_default px4fmu-v2_lpe mindpx4-v2_default px4-stm32f4discovery_default uavcan_firmware px4fmu-v4_default"
|
||||||
px4fmu-v1_default \
|
|
||||||
px4fmu-v2_default \
|
|
||||||
px4fmu-v2_lpe \
|
|
||||||
mindpx4-v2_default \
|
|
||||||
px4-stm32f4discovery_default \
|
|
||||||
uavcan_firmware \
|
|
||||||
px4fmu-v4_default"
|
|
||||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
|
||||||
cd ${TRAVIS_BUILD_DIR}
|
cd ${TRAVIS_BUILD_DIR}
|
||||||
&& make check_format
|
&& make check_format
|
||||||
&& arm-none-eabi-gcc --version
|
&& arm-none-eabi-gcc --version
|
||||||
&& for config in $build_configs; do echo 'Building NuttX ${config} Firmware..' && make $config; done
|
&& for config in $build_configs; do echo && echo "Building NuttX ${config} Firmware" && make $config && echo; done
|
||||||
&& echo 'Running Tests..' && make tests
|
&& echo 'Running Tests..' && make tests
|
||||||
;
|
;
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user