aboutsummaryrefslogblamecommitdiff
path: root/.travis.yml
blob: 7005401c16c5784d36dd24a3f49ed9004be724e9 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                            
                          
                                                                                                  
                                                           
                                                                                                                         







                                                                                                            
                               
 
    
            

       

                  
 
       


                                                                                                                                                                                        

                                      
     

                      
                      
# Build and autotest script for PX4 Firmware
# http://travis-ci.org

language: cpp

before_script:
  - sudo apt-get update -q
  - 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 grep
  - 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
  - arm-none-eabi-gcc --version

git:
  depth: 500

script:
  - make testbuild
  - make tests

deploy:
  provider: releases
  api_key:
    secure: cdHWLRBxA5UlYpOS0Sp891QK7PFmMgQ5ZWs1aPt+sw0rIrowyWMHCwXNBEdUqaExHYNYgXCUDI0EzNgfB7ZcR63Qv1MQeoyamV4jsxlyAqDqmxNtWO82S6RhHGeMLk26VgFKzynVcEk1IYlQP2nqzMQLdu+jTrngERuAIrCdRuc=
  file: "Images/px4fmu-v2_default.px4"
  skip_cleanup: true
  on:
    tags: true
    all_branches: true
    repo: PX4/Firmware