forked from Archive/PX4-Autopilot
Travis CI: Enable release integration
This commit is contained in:
parent
7adb737b99
commit
178a2e82c2
17
.travis.yml
17
.travis.yml
|
@ -5,9 +5,7 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
#- sudo add-apt-repository 'ppa:terry.guo/gcc-arm-embedded' -y
|
|
||||||
- sudo apt-get update -q
|
- sudo apt-get update -q
|
||||||
# Note: we do not want a random, auto-updated GCC version - sudo apt-get install gcc-arm-none-eabi
|
|
||||||
- sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386
|
- 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 python-serial python-argparse grep
|
||||||
- sudo apt-get install flex bison libncurses5-dev autoconf texinfo build-essential libtool zlib1g-dev genromfs git wget
|
- sudo apt-get install flex bison libncurses5-dev autoconf texinfo build-essential libtool zlib1g-dev genromfs git wget
|
||||||
|
@ -19,14 +17,21 @@ before_script:
|
||||||
- if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi
|
- if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi
|
||||||
- . ~/.profile
|
- . ~/.profile
|
||||||
- popd
|
- popd
|
||||||
|
|
||||||
# Output GCC version
|
|
||||||
- arm-none-eabi-gcc --version
|
- arm-none-eabi-gcc --version
|
||||||
|
|
||||||
# Clone only as much as we need
|
|
||||||
git:
|
git:
|
||||||
depth: 500
|
depth: 500
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make testbuild
|
- make testbuild
|
||||||
- make tests
|
- make tests
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: releases
|
||||||
|
api_key:
|
||||||
|
secure: cdHWLRBxA5UlYpOS0Sp891QK7PFmMgQ5ZWs1aPt+sw0rIrowyWMHCwXNBEdUqaExHYNYgXCUDI0EzNgfB7ZcR63Qv1MQeoyamV4jsxlyAqDqmxNtWO82S6RhHGeMLk26VgFKzynVcEk1IYlQP2nqzMQLdu+jTrngERuAIrCdRuc=
|
||||||
|
file:
|
||||||
|
- Images/px4fmu-v1_default.px4
|
||||||
|
- Images/px4fmu-v2_default.px4
|
||||||
|
- Images/aerocore_default.px4
|
||||||
|
on:
|
||||||
|
repo: PX4/Firmware
|
||||||
|
|
Loading…
Reference in New Issue