@@ -60,9 +60,8 @@ before_install:
6060 elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
6161 brew tap PX4/homebrew-px4
6262 && brew update; brew update
63- && brew install cmake ninja astyle gcc-arm-none-eabi
63+ && brew install cmake ninja
6464 && brew install genromfs
65- && brew install kconfig-frontends
6665 && sudo easy_install pip
6766 && sudo pip install pyserial empy
6867 ;
9392 - PX4_AWS_BUCKET=px4-travis
9493
9594script :
96- - git submodule update --init --recursive
97- - make check_format
98- - arm-none-eabi-gcc --version
95+ - git submodule update --quiet --init --recursive
9996 - echo 'Building POSIX Firmware..' && make posix_sitl_default
10097 - echo 'Running Tests..' && make posix_sitl_default test
10198 - echo 'Running Unittests..' && cd unittests && ./run_tests.sh
102- - cd ..
103- - echo 'Building NuttX px4fmu-v1 Firmware..' && make px4fmu-v1_default
104- - echo 'Building NuttX px4fmu-v2 Firmware..' && make px4fmu-v2_default
105- # Only provide UAVCAN firmware binaries for Pixracer and Pixhawk 3
106- - echo 'Building UAVCAN node firmware ..' && git clone https://github.com/thiemar/vectorcontrol
107- - cd vectorcontrol
108- - BOARD=s2740vc_1_0 make && BOARD=px4esc_1_6 make
109- - ../Tools/uavcan_copy.sh
110- - cd ..
111- - echo 'Building NuttX px4fmu-v4 Firmware ..' && make px4fmu-v4_default
112- - echo 'Building NuttX px4-stm32f4discovery Firmware..' && make px4-stm32f4discovery_default
113- - echo 'Running Tests..' && make px4fmu-v2_default test
99+ - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
100+ cd ${TRAVIS_BUILD_DIR}
101+ && make check_format
102+ && arm-none-eabi-gcc --version
103+ && echo 'Building NuttX px4fmu-v1 Firmware ..' && make px4fmu-v1_default
104+ && echo 'Building NuttX px4fmu-v2 Firmware..' && make px4fmu-v2_default
105+ && echo 'Building UAVCAN node firmware..' && (git clone https://github.com/thiemar/vectorcontrol && cd vectorcontrol && BOARD=s2740vc_1_0 make -s && BOARD=px4esc_1_6 make -s && ../Tools/uavcan_copy.sh)
106+ && echo 'Building NuttX px4fmu-v4 Firmware..' && make px4fmu-v4_default
107+ && echo 'Building NuttX px4-stm32f4discovery Firmware..' && make px4-stm32f4discovery_default
108+ && echo 'Running Tests ..' && make px4fmu-v2_default test
109+ ;
110+ fi
114111
115112after_success :
116113 - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
0 commit comments