11env :
2- CODECOV_TOKEN : " 2dd7eb9b-0eda-45fe-a47c-9b5ac040045f "
2+ COVERALLS_REPO_TOKEN : wsJWOby6j0uCYFiCes3r0XauxO27mx8lD
33
44steps :
5-
65 - command :
76 - " python -m pip install tox"
87 - " tox -e check_codestyle"
98 label : " \U0001F9F9 Check Style"
109 plugins :
1110 - docker#v3.0.1:
1211 image : " python:3.6"
12+ mount-buildkite-agent : false
1313
1414 - command :
1515 - " python -m pip install tox"
1818 plugins :
1919 - docker#v3.0.1:
2020 image : " python:3.6"
21+ mount-buildkite-agent : false
2122
2223 - command :
2324 - " python -m pip install tox"
2627 plugins :
2728 - docker#v3.0.1:
2829 image : " python:3.6"
30+ mount-buildkite-agent : false
2931
3032 - command :
3133 - " python -m pip install tox"
3638 - docker#v3.0.1:
3739 image : " python:3.6"
3840 propagate-environment : true
41+ mount-buildkite-agent : false
3942
4043 - command :
4144 - " python -m pip install tox"
4447 plugins :
4548 - docker#v3.0.1:
4649 image : " python:3.6"
50+ mount-buildkite-agent : false
4751
4852 - command :
4953 - " python -m pip install tox"
@@ -52,21 +56,26 @@ steps:
5256 plugins :
5357 - docker#v3.0.1:
5458 image : " python:3.5"
59+ mount-buildkite-agent : false
5560
5661 - wait
5762
5863 - command :
5964 - " apt-get update && apt-get install -y python3.5 python3.5-dev python3-pip libxml2-dev libxslt-dev zlib1g-dev"
6065 - " python3.5 -m pip install tox"
61- - " tox -e py35-old,codecov "
66+ - " tox -e py35-old,combine "
6267 label : " :python: 3.5 / SQLite / Old Deps"
6368 env :
6469 TRIAL_FLAGS : " -j 2"
6570 LANG : " C.UTF-8"
6671 plugins :
6772 - 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
6976 propagate-environment : true
77+ - matrix-org/coveralls#v1.0:
78+ parallel : " true"
7079 retry :
7180 automatic :
7281 - exit_status : -1
@@ -76,14 +85,18 @@ steps:
7685
7786 - command :
7887 - " python -m pip install tox"
79- - " tox -e py35,codecov "
88+ - " tox -e py35,combine "
8089 label : " :python: 3.5 / SQLite"
8190 env :
8291 TRIAL_FLAGS : " -j 2"
8392 plugins :
8493 - docker#v3.0.1:
8594 image : " python:3.5"
95+ workdir : " /src"
96+ mount-buildkite-agent : false
8697 propagate-environment : true
98+ - matrix-org/coveralls#v1.0:
99+ parallel : " true"
87100 retry :
88101 automatic :
89102 - exit_status : -1
@@ -93,14 +106,18 @@ steps:
93106
94107 - command :
95108 - " python -m pip install tox"
96- - " tox -e py36,codecov "
109+ - " tox -e py36,combine "
97110 label : " :python: 3.6 / SQLite"
98111 env :
99112 TRIAL_FLAGS : " -j 2"
100113 plugins :
101114 - docker#v3.0.1:
102115 image : " python:3.6"
116+ workdir : " /src"
117+ mount-buildkite-agent : false
103118 propagate-environment : true
119+ - matrix-org/coveralls#v1.0:
120+ parallel : " true"
104121 retry :
105122 automatic :
106123 - exit_status : -1
@@ -110,14 +127,18 @@ steps:
110127
111128 - command :
112129 - " python -m pip install tox"
113- - " tox -e py37,codecov "
130+ - " tox -e py37,combine "
114131 label : " :python: 3.7 / SQLite"
115132 env :
116133 TRIAL_FLAGS : " -j 2"
117134 plugins :
118135 - docker#v3.0.1:
119136 image : " python:3.7"
137+ workdir : " /src"
138+ mount-buildkite-agent : false
120139 propagate-environment : true
140+ - matrix-org/coveralls#v1.0:
141+ parallel : " true"
121142 retry :
122143 automatic :
123144 - exit_status : -1
@@ -131,12 +152,14 @@ steps:
131152 env :
132153 TRIAL_FLAGS : " -j 8"
133154 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 '"
135156 plugins :
136157 - docker-compose#v2.1.0:
137158 run : testenv
138159 config :
139160 - .buildkite/docker-compose.py35.pg95.yaml
161+ - matrix-org/coveralls#v1.0:
162+ parallel : " true"
140163 retry :
141164 automatic :
142165 - exit_status : -1
@@ -150,12 +173,14 @@ steps:
150173 env :
151174 TRIAL_FLAGS : " -j 8"
152175 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 '"
154177 plugins :
155178 - docker-compose#v2.1.0:
156179 run : testenv
157180 config :
158181 - .buildkite/docker-compose.py37.pg95.yaml
182+ - matrix-org/coveralls#v1.0:
183+ parallel : " true"
159184 retry :
160185 automatic :
161186 - exit_status : -1
@@ -169,20 +194,21 @@ steps:
169194 env :
170195 TRIAL_FLAGS : " -j 8"
171196 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 '"
173198 plugins :
174199 - docker-compose#v2.1.0:
175200 run : testenv
176201 config :
177202 - .buildkite/docker-compose.py37.pg11.yaml
203+ - matrix-org/coveralls#v1.0:
204+ parallel : " true"
178205 retry :
179206 automatic :
180207 - exit_status : -1
181208 limit : 2
182209 - exit_status : 2
183210 limit : 2
184211
185-
186212 - label : " SyTest - :python: 3.5 / SQLite / Monolith"
187213 agents :
188214 queue : " medium"
@@ -195,6 +221,16 @@ steps:
195221 propagate-environment : true
196222 always-pull : true
197223 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"
198234 retry :
199235 automatic :
200236 - exit_status : -1
@@ -216,6 +252,16 @@ steps:
216252 propagate-environment : true
217253 always-pull : true
218254 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"
219265 retry :
220266 automatic :
221267 - exit_status : -1
@@ -240,9 +286,25 @@ steps:
240286 propagate-environment : true
241287 always-pull : true
242288 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"
243299 retry :
244300 automatic :
245301 - exit_status : -1
246302 limit : 2
247303 - exit_status : 2
248304 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