]> git.mxchange.org Git - friendica.git/blob - .drone.yml
Merge pull request #7787 from annando/issue-7778
[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 ---
253 kind: pipeline
254 name: redis-php7.1
255
256 steps:
257 - name: redis-php7.1
258   image: friendicaci/php7.1:php7.1.32
259   commands:
260     - phpenmod xdebug
261     - sleep 20
262     - NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
263     - wget https://codecov.io/bash -O codecov.sh
264     - 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"
265     - 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"
266   environment:
267       REDIS_HOST: redis
268
269 services:
270 - name: redis
271   image: redis
272
273 trigger:
274   branch:
275     - master
276     - develop
277     - "*-rc"
278   event:
279     - pull_request
280     - push
281 ---
282 kind: pipeline
283 name: redis-php7.2
284
285 steps:
286 - name: redis-php7.2
287   image: friendicaci/php7.2:php7.2.22
288   commands:
289       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
290   environment:
291     REDIS_HOST: redis
292
293 services:
294 - name: redis
295   image: redis
296
297 trigger:
298   branch:
299     - master
300     - develop
301     - "*-rc"
302   event:
303     - pull_request
304     - push
305 ---
306 kind: pipeline
307 name: redis-php7.3
308
309 steps:
310 - name: redis-php7.3
311   image: friendicaci/php7.3:php7.3.9
312   commands:
313       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
314   environment:
315     REDIS_HOST: redis
316
317 services:
318 - name: redis
319   image: redis
320
321 ---
322 kind: pipeline
323 name: memcache-php7.1
324
325 steps:
326 - name: memcache-php7.1
327   image: friendicaci/php7.1:php7.1.32
328   commands:
329       - phpenmod xdebug
330       - sleep 20
331       - NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
332       - wget https://codecov.io/bash -O codecov.sh
333       - 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"
334       - 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"
335   environment:
336       MEMCACHE_HOST: memcached
337
338 services:
339 - name: memcached
340   image: memcached
341
342 trigger:
343   branch:
344     - master
345     - develop
346     - "*-rc"
347   event:
348     - pull_request
349     - push
350 ---
351 kind: pipeline
352 name: memcache-php7.2
353
354 steps:
355 - name: memcache-php7.2
356   image: friendicaci/php7.2:php7.2.22
357   commands:
358       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
359   environment:
360       MEMCACHE_HOST: memcached
361
362 services:
363 - name: memcached
364   image: memcached
365
366 trigger:
367   branch:
368     - master
369     - develop
370     - "*-rc"
371   event:
372     - pull_request
373     - push
374 ---
375 kind: pipeline
376 name: memcache-php7.3
377
378 steps:
379 - name: memcache-php7.3
380   image: friendicaci/php7.3:php7.3.9
381   commands:
382       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
383   environment:
384       MEMCACHE_HOST: memcached
385
386 services:
387 - name: memcached
388   image: memcached
389
390 ---
391 kind: pipeline
392 name: memcached-php7.1
393
394 steps:
395 - name: memcached-php7.1
396   image: friendicaci/php7.1:php7.1.32
397   commands:
398       - phpenmod xdebug
399       - sleep 20
400       - NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
401       - wget https://codecov.io/bash -O codecov.sh
402       - 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"
403       - 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"
404   environment:
405       MEMCACHED_HOST: memcached
406
407 services:
408 - name: memcached
409   image: memcached
410
411 trigger:
412   branch:
413     - master
414     - develop
415     - "*-rc"
416   event:
417     - pull_request
418     - push
419 ---
420 kind: pipeline
421 name: memcached-php7.2
422
423 steps:
424 - name: memcached-php7.2
425   image: friendicaci/php7.2:php7.2.22
426   commands:
427       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
428   environment:
429       MEMCACHED_HOST: memcached
430
431 services:
432 - name: memcached
433   image: memcached
434
435 trigger:
436   branch:
437     - master
438     - develop
439     - "*-rc"
440   event:
441     - pull_request
442     - push
443 ---
444 kind: pipeline
445 name: memcached-php7.3
446
447 steps:
448 - name: memcached-php7.3
449   image: friendicaci/php7.3:php7.3.9
450   commands:
451       - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
452   environment:
453       MEMCACHED_HOST: memcached
454
455 services:
456 - name: memcached
457   image: memcached