1
1
env :
2
- CODECOV_TOKEN : " 2dd7eb9b-0eda-45fe-a47c-9b5ac040045f "
2
+ COVERALLS_REPO_TOKEN : wsJWOby6j0uCYFiCes3r0XauxO27mx8lD
3
3
4
4
steps :
5
-
6
5
- command :
7
6
- " python -m pip install tox"
8
7
- " tox -e check_codestyle"
9
8
label : " \U0001F9F9 Check Style"
10
9
plugins :
11
10
- docker#v3.0.1:
12
11
image : " python:3.6"
12
+ mount-buildkite-agent : false
13
13
14
14
- command :
15
15
- " python -m pip install tox"
18
18
plugins :
19
19
- docker#v3.0.1:
20
20
image : " python:3.6"
21
+ mount-buildkite-agent : false
21
22
22
23
- command :
23
24
- " python -m pip install tox"
26
27
plugins :
27
28
- docker#v3.0.1:
28
29
image : " python:3.6"
30
+ mount-buildkite-agent : false
29
31
30
32
- command :
31
33
- " python -m pip install tox"
36
38
- docker#v3.0.1:
37
39
image : " python:3.6"
38
40
propagate-environment : true
41
+ mount-buildkite-agent : false
39
42
40
43
- command :
41
44
- " python -m pip install tox"
44
47
plugins :
45
48
- docker#v3.0.1:
46
49
image : " python:3.6"
50
+ mount-buildkite-agent : false
47
51
48
52
- command :
49
53
- " python -m pip install tox"
@@ -52,21 +56,26 @@ steps:
52
56
plugins :
53
57
- docker#v3.0.1:
54
58
image : " python:3.5"
59
+ mount-buildkite-agent : false
55
60
56
61
- wait
57
62
58
63
- command :
59
64
- " apt-get update && apt-get install -y python3.5 python3.5-dev python3-pip libxml2-dev libxslt-dev zlib1g-dev"
60
65
- " python3.5 -m pip install tox"
61
- - " tox -e py35-old,codecov "
66
+ - " tox -e py35-old,combine "
62
67
label : " :python: 3.5 / SQLite / Old Deps"
63
68
env :
64
69
TRIAL_FLAGS : " -j 2"
65
70
LANG : " C.UTF-8"
66
71
plugins :
67
72
- docker#v3.0.1:
68
- image : " ubuntu:xenial" # We use xenail to get an old sqlite and python
73
+ image : " ubuntu:xenial" # We use xenial to get an old sqlite and python
74
+ workdir : " /src"
75
+ mount-buildkite-agent : false
69
76
propagate-environment : true
77
+ - matrix-org/coveralls#v1.0:
78
+ parallel : " true"
70
79
retry :
71
80
automatic :
72
81
- exit_status : -1
@@ -76,14 +85,18 @@ steps:
76
85
77
86
- command :
78
87
- " python -m pip install tox"
79
- - " tox -e py35,codecov "
88
+ - " tox -e py35,combine "
80
89
label : " :python: 3.5 / SQLite"
81
90
env :
82
91
TRIAL_FLAGS : " -j 2"
83
92
plugins :
84
93
- docker#v3.0.1:
85
94
image : " python:3.5"
95
+ workdir : " /src"
96
+ mount-buildkite-agent : false
86
97
propagate-environment : true
98
+ - matrix-org/coveralls#v1.0:
99
+ parallel : " true"
87
100
retry :
88
101
automatic :
89
102
- exit_status : -1
@@ -93,14 +106,18 @@ steps:
93
106
94
107
- command :
95
108
- " python -m pip install tox"
96
- - " tox -e py36,codecov "
109
+ - " tox -e py36,combine "
97
110
label : " :python: 3.6 / SQLite"
98
111
env :
99
112
TRIAL_FLAGS : " -j 2"
100
113
plugins :
101
114
- docker#v3.0.1:
102
115
image : " python:3.6"
116
+ workdir : " /src"
117
+ mount-buildkite-agent : false
103
118
propagate-environment : true
119
+ - matrix-org/coveralls#v1.0:
120
+ parallel : " true"
104
121
retry :
105
122
automatic :
106
123
- exit_status : -1
@@ -110,14 +127,18 @@ steps:
110
127
111
128
- command :
112
129
- " python -m pip install tox"
113
- - " tox -e py37,codecov "
130
+ - " tox -e py37,combine "
114
131
label : " :python: 3.7 / SQLite"
115
132
env :
116
133
TRIAL_FLAGS : " -j 2"
117
134
plugins :
118
135
- docker#v3.0.1:
119
136
image : " python:3.7"
137
+ workdir : " /src"
138
+ mount-buildkite-agent : false
120
139
propagate-environment : true
140
+ - matrix-org/coveralls#v1.0:
141
+ parallel : " true"
121
142
retry :
122
143
automatic :
123
144
- exit_status : -1
@@ -131,12 +152,14 @@ steps:
131
152
env :
132
153
TRIAL_FLAGS : " -j 8"
133
154
command :
134
- - " bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov '"
155
+ - " bash -c 'python -m pip install tox && python -m tox -e py35-postgres,combine '"
135
156
plugins :
136
157
- docker-compose#v2.1.0:
137
158
run : testenv
138
159
config :
139
160
- .buildkite/docker-compose.py35.pg95.yaml
161
+ - matrix-org/coveralls#v1.0:
162
+ parallel : " true"
140
163
retry :
141
164
automatic :
142
165
- exit_status : -1
@@ -150,12 +173,14 @@ steps:
150
173
env :
151
174
TRIAL_FLAGS : " -j 8"
152
175
command :
153
- - " bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov '"
176
+ - " bash -c 'python -m pip install tox && python -m tox -e py37-postgres,combine '"
154
177
plugins :
155
178
- docker-compose#v2.1.0:
156
179
run : testenv
157
180
config :
158
181
- .buildkite/docker-compose.py37.pg95.yaml
182
+ - matrix-org/coveralls#v1.0:
183
+ parallel : " true"
159
184
retry :
160
185
automatic :
161
186
- exit_status : -1
@@ -169,20 +194,21 @@ steps:
169
194
env :
170
195
TRIAL_FLAGS : " -j 8"
171
196
command :
172
- - " bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov '"
197
+ - " bash -c 'python -m pip install tox && python -m tox -e py37-postgres,combine '"
173
198
plugins :
174
199
- docker-compose#v2.1.0:
175
200
run : testenv
176
201
config :
177
202
- .buildkite/docker-compose.py37.pg11.yaml
203
+ - matrix-org/coveralls#v1.0:
204
+ parallel : " true"
178
205
retry :
179
206
automatic :
180
207
- exit_status : -1
181
208
limit : 2
182
209
- exit_status : 2
183
210
limit : 2
184
211
185
-
186
212
- label : " SyTest - :python: 3.5 / SQLite / Monolith"
187
213
agents :
188
214
queue : " medium"
@@ -195,6 +221,16 @@ steps:
195
221
propagate-environment : true
196
222
always-pull : true
197
223
workdir : " /src"
224
+ entrypoint : ["/bin/sh", "-e", "-c"]
225
+ mount-buildkite-agent : false
226
+ volumes : ["./logs:/logs"]
227
+ - artifacts#v1.2.0:
228
+ upload : [ "logs/**/*.log", "logs/**/*.log.*", "logs/coverage.xml" ]
229
+ - matrix-org/annotate :
230
+ path : " logs/annotate.md"
231
+ class : " error"
232
+ - matrix-org/coveralls#v1.0:
233
+ parallel : " true"
198
234
retry :
199
235
automatic :
200
236
- exit_status : -1
@@ -216,6 +252,16 @@ steps:
216
252
propagate-environment : true
217
253
always-pull : true
218
254
workdir : " /src"
255
+ entrypoint : ["/bin/sh", "-e", "-c"]
256
+ mount-buildkite-agent : false
257
+ volumes : ["./logs:/logs"]
258
+ - artifacts#v1.2.0:
259
+ upload : [ "logs/**/*.log", "logs/**/*.log.*", "logs/coverage.xml" ]
260
+ - matrix-org/annotate :
261
+ path : " logs/annotate.md"
262
+ class : " error"
263
+ - matrix-org/coveralls#v1.0:
264
+ parallel : " true"
219
265
retry :
220
266
automatic :
221
267
- exit_status : -1
@@ -240,9 +286,25 @@ steps:
240
286
propagate-environment : true
241
287
always-pull : true
242
288
workdir : " /src"
289
+ entrypoint : ["/bin/sh", "-e", "-c"]
290
+ mount-buildkite-agent : false
291
+ volumes : ["./logs:/logs"]
292
+ - artifacts#v1.2.0:
293
+ upload : [ "logs/**/*.log", "logs/**/*.log.*", "logs/coverage.xml" ]
294
+ - matrix-org/annotate :
295
+ path : " logs/annotate.md"
296
+ class : " error"
297
+ - matrix-org/coveralls#v1.0:
298
+ parallel : " true"
243
299
retry :
244
300
automatic :
245
301
- exit_status : -1
246
302
limit : 2
247
303
- exit_status : 2
248
304
limit : 2
305
+
306
+ - wait : ~
307
+ continue_on_failure : true
308
+
309
+ - label : Trigger webhook
310
+ command : " curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d \" payload[build_num]=$BUILDKITE_BUILD_NUMBER&payload[status]=done\" "
0 commit comments