Add Travis CI support, ready for testing

This commit is contained in:
Lorenz Meier 2014-12-20 18:54:35 +01:00
parent 2e3356694b
commit 47e071a6f2
1 changed files with 20 additions and 0 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
# Build and autotest script for PX4 Firmware
# http://travis-ci.org
language: cpp
before_script:
- 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
# Clone only as much as we need
git:
depth: 500
script:
- make testbuild
- make tests