]> git.mxchange.org Git - friendica.git/blob - .drone.yml
Merge pull request #7988 from friendica/MrPetovan-notice
[friendica.git] / .drone.yml
1 kind: pipeline
2 name: mysql8.0-php7.1
3
4 steps:
5 - name: mysql8.0-php7.1
6   image: friendicaci/php7.1:php7.1.32
7   commands:
8       - NOCOVERAGE=true ./autotest.sh mysql
9   environment:
10     MYSQL_USERNAME: friendica
11     MYSQL_PASSWORD: friendica
12     MYSQL_DATABASE: friendica
13     MYSQL_HOST: mysql
14
15 node:
16   test: db
17
18 services:
19 - name: mysql
20   image: mysql:8.0
21   command: [ "--default-authentication-plugin=mysql_native_password" ]
22   environment:
23     MYSQL_ROOT_PASSWORD: friendica
24     MYSQL_USER: friendica
25     MYSQL_PASSWORD: friendica
26     MYSQL_DATABASE: friendica
27   volumes:
28     - name: cache
29       path: /var/lib/mysql
30
31 volumes:
32 - name: cache
33   temp: {}
34
35 trigger:
36   branch:
37 #    - master
38     - develop
39 #    - "*-rc"
40 #  event:
41 #    - pull_request
42 #    - push
43 ---
44 kind: pipeline
45 name: mysql8.0-php7.2
46
47 steps:
48 - name: mysql8.0-php7.2
49   image: friendicaci/php7.2:php7.2.22
50   commands:
51     - NOCOVERAGE=true ./autotest.sh mysql
52   environment:
53     MYSQL_USERNAME: friendica
54     MYSQL_PASSWORD: friendica
55     MYSQL_DATABASE: friendica
56     MYSQL_HOST: mysql
57
58 node:
59   test: db
60
61 services:
62 - name: mysql
63   image: mysql:8.0
64   command: [ "--default-authentication-plugin=mysql_native_password" ]
65   environment:
66     MYSQL_ROOT_PASSWORD: friendica
67     MYSQL_USER: friendica
68     MYSQL_PASSWORD: friendica
69     MYSQL_DATABASE: friendica
70   volumes:
71     - name: cache
72       path: /var/lib/mysql
73
74 volumes:
75   - name: cache
76     temp: {}
77
78 trigger:
79   branch:
80 #    - master
81     - develop
82 #    - "*-rc"
83 #  event:
84 #    - pull_request
85 #    - push
86 ---
87 kind: pipeline
88 name: mysql8.0-php7.3
89
90 steps:
91 - name: mysql8.0-php7.3
92   image: friendicaci/php7.3:php7.3.9
93   commands:
94       - NOCOVERAGE=true ./autotest.sh mysql
95   environment:
96       MYSQL_USERNAME: friendica
97       MYSQL_PASSWORD: friendica
98       MYSQL_DATABASE: friendica
99       MYSQL_HOST: mysql
100
101 node:
102   test: db
103
104 services:
105 - name: mysql
106   image: mysql:8.0
107   command: [ "--default-authentication-plugin=mysql_native_password" ]
108   environment:
109       MYSQL_ROOT_PASSWORD: friendica
110       MYSQL_USER: friendica
111       MYSQL_PASSWORD: friendica
112       MYSQL_DATABASE: friendica
113   volumes:
114     - name: cache
115       path: /var/lib/mysql
116
117 volumes:
118   - name: cache
119     temp: {}
120
121 trigger:
122   branch:
123 #    - master
124     - develop
125 #    - "*-rc"
126 #  event:
127 #    - pull_request
128 #    - push
129 ---
130 kind: pipeline
131 name: mariadb10.1-php7.1
132
133 steps:
134 - name: mariadb10.1-php7.1
135   image: friendicaci/php7.1:php7.1.32
136   commands:
137       - phpenmod xdebug
138       - sleep 20
139       - ./autotest.sh mariadb
140       - wget https://codecov.io/bash -O codecov.sh
141       - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
142       - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
143   environment:
144       MYSQL_USER: friendica
145       MYSQL_PASSWORD: friendica
146       MYSQL_DATABASE: friendica
147       MYSQL_HOST: mariadb
148
149 node:
150   test: db
151
152 services:
153 - name: mariadb
154   image: mariadb:10.1
155   environment:
156       MYSQL_ROOT_PASSWORD: friendica
157       MYSQL_USER: friendica
158       MYSQL_PASSWORD: friendica
159       MYSQL_DATABASE: friendica
160   volumes:
161     - name: cache
162       path: /var/lib/mysql
163
164 volumes:
165   - name: cache
166     temp: {}
167
168 trigger:
169   branch:
170 #    - master
171     - develop
172 #    - "*-rc"
173 #  event:
174 #    - pull_request
175 #    - push
176 ---
177 kind: pipeline
178 name: mariadb10.1-php7.2
179
180 steps:
181 - name: mariadb10.1-php7.2
182   image: friendicaci/php7.2:php7.2.22
183   commands:
184       - NOCOVERAGE=true ./autotest.sh mariadb
185   environment:
186       MYSQL_USER: friendica
187       MYSQL_PASSWORD: friendica
188       MYSQL_DATABASE: friendica
189       MYSQL_HOST: mariadb
190
191 node:
192   test: db
193
194 services:
195 - name: mariadb
196   image: mariadb:10.1
197   environment:
198       MYSQL_ROOT_PASSWORD: friendica
199       MYSQL_USER: friendica
200       MYSQL_PASSWORD: friendica
201       MYSQL_DATABASE: friendica
202   volumes:
203     - name: cache
204       path: /var/lib/mysql
205
206 volumes:
207   - name: cache
208     temp: {}
209
210 trigger:
211   branch:
212 #    - master
213     - develop
214 #    - "*-rc"
215 #  event:
216 #    - pull_request
217 #    - push
218 ---
219 kind: pipeline
220 name: mariadb10.1-php7.3
221
222 steps:
223 - name: mariadb10.1-php7.3
224   image: friendicaci/php7.3:php7.3.9
225   commands:
226       - NOCOVERAGE=true ./autotest.sh mariadb
227   environment:
228       MYSQL_USER: friendica
229       MYSQL_PASSWORD: friendica
230       MYSQL_DATABASE: friendica
231       MYSQL_HOST: mariadb
232
233 node:
234   test: db
235
236 services:
237 - name: mariadb
238   image: mariadb:10.1
239   environment:
240       MYSQL_ROOT_PASSWORD: friendica
241       MYSQL_USER: friendica
242       MYSQL_PASSWORD: friendica
243       MYSQL_DATABASE: friendica
244   volumes:
245     - name: cache
246       path: /var/lib/mysql
247
248 volumes:
249   - name: cache
250     temp: {}
251
252 trigger:
253   branch:
254 #    - master
255     - develop
256 #    - "*-rc"
257 #  event:
258 #    - pull_request
259 #    - push
260 ---
261 kind: pipeline
262 name: redis-php7.1
263
264 steps:
265 - name: redis-php7.1
266   image: friendicaci/php7.1:php7.1.32
267   commands:
268     - phpenmod xdebug
269     - sleep 20
270     - NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
271     - wget https://codecov.io/bash -O codecov.sh
272     - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
273     - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
274   environment:
275       REDIS_HOST: redis
276
277 services:
278 - name: redis
279   image: redis
280
281 trigger:
282   branch:
283 #    - master
284     - develop
285 #    - "*-rc"
286 #  event:
287 #    - pull_request
288 #    - push
289 ---
290 kind: pipeline
291 name: redis-php7.2
292
293 steps:
294 - name: redis-php7.2
295   image: friendicaci/php7.2:php7.2.22
296   commands:
297       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
298   environment:
299     REDIS_HOST: redis
300
301 services:
302 - name: redis
303   image: redis
304
305 trigger:
306   branch:
307 #    - master
308     - develop
309 #    - "*-rc"
310 #  event:
311 #    - pull_request
312 #    - push
313 ---
314 kind: pipeline
315 name: redis-php7.3
316
317 steps:
318 - name: redis-php7.3
319   image: friendicaci/php7.3:php7.3.9
320   commands:
321       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
322   environment:
323     REDIS_HOST: redis
324
325 services:
326 - name: redis
327   image: redis
328
329 trigger:
330   branch:
331 #    - master
332     - develop
333 #    - "*-rc"
334 #  event:
335 #    - pull_request
336 #    - push
337
338 ---
339 kind: pipeline
340 name: memcache-php7.1
341
342 steps:
343 - name: memcache-php7.1
344   image: friendicaci/php7.1:php7.1.32
345   commands:
346       - phpenmod xdebug
347       - sleep 20
348       - NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
349       - wget https://codecov.io/bash -O codecov.sh
350       - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
351       - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
352   environment:
353       MEMCACHE_HOST: memcached
354
355 services:
356 - name: memcached
357   image: memcached
358
359 trigger:
360   branch:
361 #    - master
362     - develop
363 #    - "*-rc"
364 #  event:
365 #    - pull_request
366 #    - push
367 ---
368 kind: pipeline
369 name: memcache-php7.2
370
371 steps:
372 - name: memcache-php7.2
373   image: friendicaci/php7.2:php7.2.22
374   commands:
375       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
376   environment:
377       MEMCACHE_HOST: memcached
378
379 services:
380 - name: memcached
381   image: memcached
382
383 trigger:
384   branch:
385 #    - master
386     - develop
387 #    - "*-rc"
388 #  event:
389 #    - pull_request
390 #    - push
391 ---
392 kind: pipeline
393 name: memcache-php7.3
394
395 steps:
396 - name: memcache-php7.3
397   image: friendicaci/php7.3:php7.3.9
398   commands:
399       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
400   environment:
401       MEMCACHE_HOST: memcached
402
403 services:
404 - name: memcached
405   image: memcached
406
407 trigger:
408   branch:
409 #    - master
410     - develop
411 #    - "*-rc"
412 #  event:
413 #    - pull_request
414 #    - push
415
416
417 ---
418 kind: pipeline
419 name: memcached-php7.1
420
421 steps:
422 - name: memcached-php7.1
423   image: friendicaci/php7.1:php7.1.32
424   commands:
425       - phpenmod xdebug
426       - sleep 20
427       - NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
428       - wget https://codecov.io/bash -O codecov.sh
429       - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
430       - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
431   environment:
432       MEMCACHED_HOST: memcached
433
434 services:
435 - name: memcached
436   image: memcached
437
438 trigger:
439   branch:
440 #    - master
441     - develop
442 #    - "*-rc"
443 #  event:
444 #    - pull_request
445 #    - push
446 ---
447 kind: pipeline
448 name: memcached-php7.2
449
450 steps:
451 - name: memcached-php7.2
452   image: friendicaci/php7.2:php7.2.22
453   commands:
454       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
455   environment:
456       MEMCACHED_HOST: memcached
457
458 services:
459 - name: memcached
460   image: memcached
461
462 trigger:
463   branch:
464 #    - master
465     - develop
466 #    - "*-rc"
467 #  event:
468 #    - pull_request
469 #    - push
470 ---
471 kind: pipeline
472 name: memcached-php7.3
473
474 steps:
475 - name: memcached-php7.3
476   image: friendicaci/php7.3:php7.3.9
477   commands:
478       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
479   environment:
480       MEMCACHED_HOST: memcached
481
482 services:
483 - name: memcached
484   image: memcached
485
486 trigger:
487   branch:
488 #    - master
489     - develop
490 #    - "*-rc"
491 #  event:
492 #    - pull_request
493 #    - push