-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
90 lines (80 loc) · 2.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
language: cpp
sudo: false
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
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
# - llvm-toolchain-precise-3.7
packages:
- build-essential
- gawk
- ccache
- genromfs
- libc6-i386
- libxml2-dev
- libxslt1-dev
- python-pip
- python-dev
- zlib1g-dev
- gcc-4.9
- g++-4.9
- cmake
- cmake-data
# - clang-3.7
# - llvm-3.7
cache:
ccache: true
directories:
- $HOME/opt
before_install:
- Tools/scripts/configure-ci.sh
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then export CI_CRON_JOB=1 ; fi
script:
- 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
- Tools/scripts/build_ci.sh
before_cache:
- ccache -z
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
compiler:
- gcc
# - clang
env:
global:
# 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:
- CI_BUILD_TARGET="sitl minlure raspilot"
- CI_BUILD_TARGET="linux navio2 bebop"
matrix:
fast_finish: true
include:
- compiler: "gcc"
env: CI_BUILD_TARGET="px4-v1"
- compiler: "gcc"
env: CI_BUILD_TARGET="px4-v2"
- compiler: "gcc"
env: CI_BUILD_TARGET="px4-v3"
- compiler: "gcc"
env: CI_BUILD_TARGET="px4-v4"
- compiler: "gcc"
env: CI_BUILD_TARGET="sitltest"