@@ -30,7 +30,7 @@ commands:
30
30
disable-xdebug-php-extension :
31
31
steps :
32
32
- run :
33
- name : Disable Xdebug PHP extension
33
+ name : Disable xdebug PHP extension
34
34
command : sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
35
35
install-mongodb-php-extension :
36
36
steps :
@@ -95,68 +95,80 @@ commands:
95
95
restore-composer-cache :
96
96
steps :
97
97
- restore_cache :
98
+ name : Restore Composer cache
98
99
keys :
99
100
- composer-cache-{{ .Revision }}
100
101
- composer-cache-{{ .Branch }}
101
102
- composer-cache
102
103
restore-npm-cache :
103
104
steps :
104
105
- restore_cache :
106
+ name : Restore npm cache
105
107
keys :
106
108
- npm-cache-{{ .Revision }}
107
109
- npm-cache-{{ .Branch }}
108
110
- npm-cache
109
111
restore-php-cs-fixer-cache :
110
112
steps :
111
113
- restore_cache :
114
+ name : Restore PHP-CS-Fixer cache
112
115
keys :
113
116
- php-cs-fixer-cache-{{ .Revision }}
114
117
- php-cs-fixer-cache-{{ .Branch }}
115
118
- php-cs-fixer-cache
116
119
restore-phpstan-cache :
117
120
steps :
118
121
- restore_cache :
122
+ name : Restore PHPStan cache
119
123
keys :
120
124
- phpstan-cache-{{ .Revision }}
121
125
- phpstan-cache-{{ .Branch }}
122
126
- phpstan-cache
123
127
save-composer-cache :
124
128
steps :
125
129
- save_cache :
130
+ name : Save Composer cache
126
131
paths :
127
132
- ~/.composer/cache/files
128
133
key : composer-cache-{{ .Branch }}-{{ .BuildNum }}
129
134
- save_cache :
135
+ name : Save Composer cache
130
136
paths :
131
137
- ~/.composer/cache/files
132
138
key : composer-cache-{{ .Revision }}-{{ .BuildNum }}
133
139
save-npm-cache :
134
140
steps :
135
141
- save_cache :
142
+ name : Save npm cache
136
143
paths :
137
144
- ~/.npm
138
145
key : npm-cache-{{ .Branch }}-{{ .BuildNum }}
139
146
- save_cache :
147
+ name : Save npm cache
140
148
paths :
141
149
- ~/.npm
142
150
key : npm-cache-{{ .Revision }}-{{ .BuildNum }}
143
151
save-php-cs-fixer-cache :
144
152
steps :
145
153
- save_cache :
154
+ name : Save PHP-CS-Fixer cache
146
155
paths :
147
156
- .php_cs.cache
148
157
key : php-cs-fixer-cache-{{ .Branch }}-{{ .BuildNum }}
149
158
- save_cache :
159
+ name : Save PHP-CS-Fixer cache
150
160
paths :
151
161
- .php_cs.cache
152
162
key : php-cs-fixer-cache-{{ .Revision }}-{{ .BuildNum }}
153
163
save-phpstan-cache :
154
164
steps :
155
165
- save_cache :
166
+ name : Save PHPStan cache
156
167
paths :
157
168
- /tmp/phpstan/cache
158
169
key : phpstan-cache-{{ .Branch }}-{{ .BuildNum }}
159
170
- save_cache :
171
+ name : Save PHPStan cache
160
172
paths :
161
173
- /tmp/phpstan/cache
162
174
key : phpstan-cache-{{ .Revision }}-{{ .BuildNum }}
@@ -225,6 +237,7 @@ executors:
225
237
226
238
jobs :
227
239
php-cs-fixer :
240
+ description : PHP-CS-Fixer
228
241
executor : php
229
242
environment :
230
243
PHP_CS_FIXER_FUTURE_MODE : ' 1'
@@ -250,6 +263,7 @@ jobs:
250
263
- save-php-cs-fixer-cache
251
264
252
265
phpstan :
266
+ description : PHPStan
253
267
executor : php
254
268
environment :
255
269
APP_DEBUG : ' 1' # https://github.com/phpstan/phpstan-symfony/issues/37
@@ -271,6 +285,7 @@ jobs:
271
285
- save-phpstan-cache
272
286
273
287
phpunit-coverage :
288
+ description : PHPUnit (code coverage)
274
289
executor : php
275
290
parallelism : 2
276
291
working_directory : ~/api-platform/core
@@ -319,6 +334,7 @@ jobs:
319
334
- save-npm-cache
320
335
321
336
behat-coverage :
337
+ description : Behat (code coverage)
322
338
executor : php
323
339
parallelism : 2
324
340
working_directory : ~/api-platform/core
@@ -364,6 +380,7 @@ jobs:
364
380
- save-npm-cache
365
381
366
382
phpunit-mongodb-coverage :
383
+ description : PHPUnit (MongoDB) (code coverage)
367
384
executor : php-and-mongodb
368
385
environment :
369
386
APP_ENV : mongodb
@@ -402,6 +419,7 @@ jobs:
402
419
- save-npm-cache
403
420
404
421
behat-mongodb-coverage :
422
+ description : Behat (MongoDB) (code coverage)
405
423
executor : php-and-mongodb
406
424
environment :
407
425
APP_ENV : mongodb
@@ -446,6 +464,7 @@ jobs:
446
464
- save-npm-cache
447
465
448
466
behat-elasticsearch-coverage :
467
+ description : Behat (Elasticsearch) (code coverage)
449
468
executor : php-and-elasticsearch
450
469
environment :
451
470
APP_ENV : elasticsearch
0 commit comments