-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
.travis.yml
140 lines (124 loc) · 5.52 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
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
<<<<<<< HEAD
- 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
=======
# - make test
>>>>>>> [test] coverity: only build with gcc and disable normal make test
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
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"
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