summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-12-26 20:33:00 +0100
committerLorenz Meier <lm@inf.ethz.ch>2014-12-26 20:33:00 +0100
commitaa34403a6d9aa4ab5fbb25653a5cd4182c4832ad (patch)
tree35fe374f5c1f6364b1a5cd0afbb90a752324e63d
parente3b556e9bbabaaf6d80a9f88acf2717207bebcb8 (diff)
downloadpx4-nuttx-aa34403a6d9aa4ab5fbb25653a5cd4182c4832ad.tar.gz
px4-nuttx-aa34403a6d9aa4ab5fbb25653a5cd4182c4832ad.tar.bz2
px4-nuttx-aa34403a6d9aa4ab5fbb25653a5cd4182c4832ad.zip
Add Travis CI support
-rw-r--r--.travis.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 000000000..14038e315
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,31 @@
+# Build and autotest script for PX4 Firmware
+# http://travis-ci.org
+
+language: cpp
+
+before_script:
+ - sudo apt-get update -q
+# Travis specific tools
+ - sudo apt-get install s3cmd grep zip mailutils
+# General toolchain dependencies
+ - sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
+ - sudo apt-get install python-serial python-argparse
+ - sudo apt-get install flex bison libncurses5-dev autoconf texinfo build-essential libtool zlib1g-dev genromfs git wget
+ - pushd .
+ - cd ~
+ - wget https://launchpadlibrarian.net/174121628/gcc-arm-none-eabi-4_7-2014q2-20140408-linux.tar.bz2
+ - tar -jxf gcc-arm-none-eabi-4_7-2014q2-20140408-linux.tar.bz2
+ - exportline="export PATH=$HOME/gcc-arm-none-eabi-4_7-2014q2/bin:\$PATH"
+ - if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi
+ - . ~/.profile
+ - popd
+
+git:
+ depth: 500
+
+script:
+ - arm-none-eabi-gcc --version
+ - cd nuttx/tools
+ - ./configure.sh px4fmu-v2_upstream/nsh
+ - cd ..
+ - make