Work on travis, set package generators for cpack.

This commit is contained in:
James Goppert 2015-09-10 21:54:58 -04:00
parent a2615d793e
commit 813a1219a5
2 changed files with 14 additions and 5 deletions

View File

@ -73,14 +73,21 @@ script:
- ccache -z
- arm-none-eabi-gcc --version
- echo 'Building POSIX Firmware..' && echo -en 'travis_fold:start:script.1\\r'
- make posix_sitl_simple
- make posix_sitl_simple -j4
- ccache -s
- echo -en 'travis_fold:end:script.1\\r'
- echo 'Running Tests..' && echo -en 'travis_fold:start:script.2\\r'
- make -C build_posix_sitl_simple test
- make posix_sitl_simple test
- cat src/modules/systemlib/mixer/mixer_multirotor.generated.h
- echo -en 'travis_fold:end:script.2\\r'
- echo 'Building NuttX Firmware..' && echo -en 'travis_fold:start:script.3\\r'
- make nuttx_px4fmu-v2_simple
- make px4fmu-v2_default -j4
- ccache -s
- echo -en 'travis_fold:end:script.3\\r'
- echo 'Running Tests..' && echo -en 'travis_fold:start:script.4\\r'
- make -C build_nuttx_px4fmu-v2_simple test
- make px4fmu-v2_default test
- echo -en 'travis_fold:end:script.4\\r'
- make px4fmu-v2_default package
#- make posix -j4
#- ccache -s
#- echo -en 'travis_fold:end:script.1\\r'

View File

@ -257,6 +257,8 @@ px4_create_git_hash_header(HEADER ${CMAKE_BINARY_DIR}/build_git_version.h)
#
set(CPACK_PACKAGE_VERSION ${version})
set(CPACK_PACKAGE_CONTACT ${package_contact})
set(CPACK_GENERATOR "ZIP")
set(CPACK_SOURCE_GENERATOR "ZIP")
include(CPack)
# vim: set noet fenc=utf-8 ff=unix ft=cmake :