-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.travis.yml
104 lines (92 loc) · 4.12 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
91
92
93
94
95
96
97
98
99
100
101
102
103
sudo: required
dist: trusty
language: c
compiler:
- gcc
# - clang
before_install:
- sudo add-apt-repository ppa:paparazzi-uav/ppa -y
- sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y
- sudo apt-get update -q
install:
- sudo apt-get install -y paparazzi-dev paparazzi-jsbsim gcc-arm-embedded libipc-run-perl cmake
script:
- arm-none-eabi-gcc --version
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then make test; fi
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: "QGE7s/sTIX3F4hG8YYbpYjB2x0YsUUo9qHf+Dv5BqNcTtZ2TLO0tHPWxoI5wlRLiMEOOnINNwYk7ooM3oOXa0Fm9urja9k78cFutbbDtvGD6DjUFajwJ0KnwXnLulCgG+l67umGitSazQpyEQE4pvX/8EnB9/pgq706DlmCbkds="
addons:
coverity_scan:
project:
name: "paparazzi/paparazzi"
description: "Build submitted via Travis CI"
notification_email: paparazzi-builds@nongnu.org
build_command_prepend: make ext; cov-configure --comptype gcc --compiler arm-none-eabi-gcc --template
build_command: make test
branch_pattern: coverity_scan
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: "QGE7s/sTIX3F4hG8YYbpYjB2x0YsUUo9qHf+Dv5BqNcTtZ2TLO0tHPWxoI5wlRLiMEOOnINNwYk7ooM3oOXa0Fm9urja9k78cFutbbDtvGD6DjUFajwJ0KnwXnLulCgG+l67umGitSazQpyEQE4pvX/8EnB9/pgq706DlmCbkds="
addons:
coverity_scan:
project:
name: "paparazzi/paparazzi"
description: "Build submitted via Travis CI"
notification_email: paparazzi-builds@nongnu.org
build_command_prepend: make ext; cov-configure --comptype gcc --compiler arm-none-eabi-gcc --template
build_command: make test
branch_pattern: coverity_scan
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: "QGE7s/sTIX3F4hG8YYbpYjB2x0YsUUo9qHf+Dv5BqNcTtZ2TLO0tHPWxoI5wlRLiMEOOnINNwYk7ooM3oOXa0Fm9urja9k78cFutbbDtvGD6DjUFajwJ0KnwXnLulCgG+l67umGitSazQpyEQE4pvX/8EnB9/pgq706DlmCbkds="
addons:
coverity_scan:
project:
name: "paparazzi/paparazzi"
description: "Build submitted via Travis CI"
notification_email: paparazzi-builds@nongnu.org
build_command_prepend: make ext; cov-configure --comptype gcc --compiler arm-none-eabi-gcc --template
build_command: make test_coverity
branch_pattern: coverity_scan
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: "QGE7s/sTIX3F4hG8YYbpYjB2x0YsUUo9qHf+Dv5BqNcTtZ2TLO0tHPWxoI5wlRLiMEOOnINNwYk7ooM3oOXa0Fm9urja9k78cFutbbDtvGD6DjUFajwJ0KnwXnLulCgG+l67umGitSazQpyEQE4pvX/8EnB9/pgq706DlmCbkds="
addons:
coverity_scan:
project:
name: "paparazzi/paparazzi"
description: "Build submitted via Travis CI"
notification_email: paparazzi-builds@nongnu.org
build_command_prepend: make ext; cov-configure --comptype gcc --compiler arm-none-eabi-gcc --template
build_command: make test
branch_pattern: coverity_scan
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: "QGE7s/sTIX3F4hG8YYbpYjB2x0YsUUo9qHf+Dv5BqNcTtZ2TLO0tHPWxoI5wlRLiMEOOnINNwYk7ooM3oOXa0Fm9urja9k78cFutbbDtvGD6DjUFajwJ0KnwXnLulCgG+l67umGitSazQpyEQE4pvX/8EnB9/pgq706DlmCbkds="
addons:
coverity_scan:
project:
name: "paparazzi/paparazzi"
description: "Build submitted via Travis CI"
notification_email: paparazzi-builds@nongnu.org
build_command_prepend: "make ext; cov-configure --comptype gcc --compiler arm-none-eabi-gcc --template
build_command: "make test"
branch_pattern: coverity_scan
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4187f8dda7a22a92b749
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false