2014-12-20 13:54:35 -04:00
|
|
|
|
|
|
|
# Build and autotest script for PX4 Firmware
|
|
|
|
# http://travis-ci.org
|
|
|
|
|
|
|
|
language: cpp
|
|
|
|
|
|
|
|
before_script:
|
2014-12-20 14:02:37 -04:00
|
|
|
- sudo add-apt-repository 'ppa:terry.guo/gcc-arm-embedded' -y
|
|
|
|
- sudo apt-get update -q
|
|
|
|
- sudo apt-get install gcc-arm-none-eabi python-serial python-argparse
|
|
|
|
- sudo apt-get install flex bison libncurses5-dev autoconf texinfo build-essential
|
|
|
|
- sudo apt-get install libtool zlib1g-dev genromfs git wget
|
2014-12-20 13:54:35 -04:00
|
|
|
|
2014-12-20 14:31:13 -04:00
|
|
|
# Output GCC version
|
2014-12-20 14:33:38 -04:00
|
|
|
- arm-none-eabi-gcc --version
|
2014-12-20 14:31:13 -04:00
|
|
|
|
2014-12-20 13:54:35 -04:00
|
|
|
# Clone only as much as we need
|
|
|
|
git:
|
2014-12-20 14:02:37 -04:00
|
|
|
depth: 500
|
2014-12-20 13:54:35 -04:00
|
|
|
|
|
|
|
script:
|
2014-12-20 14:02:37 -04:00
|
|
|
- make testbuild
|
|
|
|
- make tests
|