2014-07-12 13:36:11 -03:00
|
|
|
language: cpp
|
2016-04-14 20:28:04 -03:00
|
|
|
sudo: false
|
2015-11-24 18:25:53 -04:00
|
|
|
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "diydrones/ardupilot"
|
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: andrew-scan@tridgell.net
|
|
|
|
build_command_prepend: "make clean"
|
|
|
|
build_command: "make"
|
|
|
|
branch_pattern: coverity_scan
|
2016-04-14 12:53:52 -03:00
|
|
|
|
|
|
|
apt:
|
|
|
|
sources:
|
2017-12-14 02:07:21 -04:00
|
|
|
- sourceline: 'ppa:george-edison55/cmake-3.x'
|
2016-04-14 12:53:52 -03:00
|
|
|
- ubuntu-toolchain-r-test
|
2017-12-14 02:07:21 -04:00
|
|
|
# - george-edison55-cmake-3.x
|
2016-05-31 14:44:06 -03:00
|
|
|
# - llvm-toolchain-precise-3.7
|
2016-04-14 12:53:52 -03:00
|
|
|
packages:
|
|
|
|
- build-essential
|
|
|
|
- gawk
|
|
|
|
- ccache
|
|
|
|
- genromfs
|
|
|
|
- libc6-i386
|
2016-10-16 06:30:59 -03:00
|
|
|
- libxml2-dev
|
|
|
|
- libxslt1-dev
|
2016-04-14 12:53:52 -03:00
|
|
|
- python-pip
|
|
|
|
- python-dev
|
|
|
|
- zlib1g-dev
|
|
|
|
- gcc-4.9
|
|
|
|
- g++-4.9
|
|
|
|
- cmake
|
|
|
|
- cmake-data
|
2016-05-31 14:44:06 -03:00
|
|
|
# - clang-3.7
|
|
|
|
# - llvm-3.7
|
2014-07-12 13:36:11 -03:00
|
|
|
|
2016-04-14 22:03:18 -03:00
|
|
|
cache:
|
|
|
|
ccache: true
|
|
|
|
directories:
|
|
|
|
- $HOME/opt
|
|
|
|
|
2014-07-12 13:36:11 -03:00
|
|
|
before_install:
|
2016-04-14 23:48:57 -03:00
|
|
|
- Tools/scripts/configure-ci.sh
|
2016-05-17 11:41:52 -03:00
|
|
|
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then export CI_CRON_JOB=1 ; fi
|
2015-11-24 22:26:41 -04:00
|
|
|
|
2015-11-24 18:25:53 -04:00
|
|
|
script:
|
2017-07-17 15:53:44 -03:00
|
|
|
- python Tools/autotest/param_metadata/param_parse.py --no-emit --vehicle APMrover2
|
|
|
|
- python Tools/autotest/param_metadata/param_parse.py --no-emit --vehicle AntennaTracker
|
|
|
|
- python Tools/autotest/param_metadata/param_parse.py --no-emit --vehicle ArduCopter
|
|
|
|
- python Tools/autotest/param_metadata/param_parse.py --no-emit --vehicle ArduPlane
|
|
|
|
- python Tools/autotest/param_metadata/param_parse.py --no-emit --vehicle ArduSub
|
2016-01-18 12:15:02 -04:00
|
|
|
- Tools/scripts/build_ci.sh
|
2014-12-31 18:43:16 -04:00
|
|
|
|
2016-05-17 02:16:42 -03:00
|
|
|
before_cache:
|
|
|
|
- ccache -z
|
|
|
|
|
2014-12-31 18:43:16 -04:00
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/e5e0b55e353e53945b4b
|
|
|
|
on_success: change # options: [always|never|change] default: always
|
|
|
|
on_failure: always # options: [always|never|change] default: always
|
|
|
|
on_start: false # default: false
|
2015-06-02 17:44:17 -03:00
|
|
|
|
2016-05-17 02:31:04 -03:00
|
|
|
compiler:
|
|
|
|
- gcc
|
2016-05-31 14:44:06 -03:00
|
|
|
# - clang
|
2016-05-17 02:31:04 -03:00
|
|
|
|
2015-06-02 17:44:17 -03:00
|
|
|
env:
|
|
|
|
global:
|
2015-06-11 19:56:15 -03:00
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
|
|
- secure: "FjIwqZQV2FhNPWYITX5LZXTE38yYqBaQdbm3QmbEg/30wnPTm1ZOLIU7o/aSvX615ImR8kHoryvFPDQDWc6wWfqTEs3Ytq2kIvcIJS2Y5l/0PFfpWJoH5gRd6hDThnoi+1oVMLvj1+bhn4yFlCCQ2vT/jxoGfiQqqgvHtv4fLzI="
|
2016-03-08 21:03:29 -04:00
|
|
|
|
|
|
|
matrix:
|
2016-05-17 02:31:04 -03:00
|
|
|
fast_finish: true
|
2016-03-08 21:03:29 -04:00
|
|
|
include:
|
2017-03-31 16:22:16 -03:00
|
|
|
- compiler: "gcc"
|
2018-01-22 20:40:41 -04:00
|
|
|
env: CI_BUILD_TARGET="px4-v2"
|
2016-12-10 06:03:39 -04:00
|
|
|
- compiler: "gcc"
|
2018-04-06 19:28:58 -03:00
|
|
|
env: CI_BUILD_TARGET="px4-v4 revo-mini"
|
2017-06-21 08:13:04 -03:00
|
|
|
- compiler: "gcc"
|
2018-01-22 20:40:41 -04:00
|
|
|
env: CI_BUILD_TARGET="sitltest-copter"
|
2016-05-17 02:31:04 -03:00
|
|
|
- compiler: "gcc"
|
2018-04-10 19:44:20 -03:00
|
|
|
env: CI_BUILD_TARGET="sitltest-quadplane sitltest-plane sitltest-rover"
|