2014-07-12 13:36:11 -03:00
|
|
|
language: cpp
|
2016-01-19 11:22:03 -04:00
|
|
|
sudo: required
|
2015-11-24 18:25:53 -04:00
|
|
|
|
2015-11-24 21:40:14 -04:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/opt
|
|
|
|
|
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
|
2014-07-12 13:36:11 -03:00
|
|
|
|
|
|
|
before_install:
|
2016-03-08 21:03:29 -04:00
|
|
|
- export PATH=$(echo ${PATH} | awk -v RS=':' -v ORS=':' '/clang/ {next} {print}' | sed 's/:*$//')
|
2016-01-19 11:22:03 -04:00
|
|
|
- APMDIR=$(pwd) && pushd .. && $APMDIR/Tools/scripts/configure-ci.sh && . ~/.profile && popd
|
2015-11-24 22:26:41 -04:00
|
|
|
|
2015-11-24 18:25:53 -04:00
|
|
|
script:
|
2015-12-30 14:20:34 -04:00
|
|
|
- python Tools/autotest/param_metadata/param_parse.py
|
2016-01-18 12:15:02 -04:00
|
|
|
- Tools/scripts/build_ci.sh
|
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-03-08 21:03:29 -04:00
|
|
|
compiler: gcc
|
|
|
|
|
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="
|
|
|
|
matrix:
|
2016-01-18 15:37:53 -04:00
|
|
|
- CI_BUILD_TARGET="px4-v2 sitl linux"
|
|
|
|
- CI_BUILD_TARGET="navio raspilot minlure bebop"
|
2016-02-21 16:50:13 -04:00
|
|
|
- CI_BUILD_TARGET="sitltest"
|
2016-03-08 21:03:29 -04:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: clang
|
|
|
|
env: CI_BUILD_TARGET="sitl linux minlure"
|
|
|
|
- compiler: clang
|
|
|
|
env: CI_BUILD_TARGET="navio raspilot bebop"
|