forked from EC-CUBE/ec-cube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
414 lines (400 loc) · 21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
# for travis-ci
# see also. https://travis-ci.org
dist: xenial
git:
submodules: false
language: php
services:
- docker
- mysql
- postgresql
- xvfb
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
cache:
directories:
- $HOME/.composer/cache
- bin/.phpunit
php:
- 7.1
- 7.2
- 7.3
- 7.4snapshot
env:
- DATABASE_URL=mysql://root:@localhost/cube4_dev DATABASE_SERVER_VERSION=5
- DATABASE_URL=postgres://postgres:password@localhost/cube4_dev DATABASE_SERVER_VERSION=9
- DATABASE_URL=sqlite:///var/eccube.db DATABASE_SERVER_VERSION=3 COVERAGE=1
matrix:
allow_failures:
- php: 7.4snapshot
- env: DATABASE_URL=sqlite:///var/eccube.db DATABASE_SERVER_VERSION=3 COVERAGE=1
## see https://github.com/symfony/symfony/blob/e0bdc0c35e9afdb3bee8af172f90e9648c4012fc/.travis.yml#L92-L97
before_install: &php_setup |
phpenv config-rm xdebug.ini || true
echo "opcache.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo "extension = apcu.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo "apc.enabled=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
echo "date.timezone=Asia/Tokyo" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
eccube_setup: &eccube_setup |
echo "APP_ENV=codeception" > .env
bin/console doctrine:database:create --env=dev
bin/console doctrine:schema:create --env=dev
bin/console eccube:fixtures:load --env=dev
package_api_setup: &package_api_setup |
mkdir ${PWD}/repos
docker run -d --rm -v ${PWD}/repos:/repos -e MOCK_REPO_DIR=/repos -p 8080:8080 eccube/mock-package-api
install:
- &composer_install composer install --dev --no-interaction -o --apcu-autoloader
- *eccube_setup
script:
- ./bin/phpunit --exclude-group cache-clear,cache-clear-install,update-schema-doctrine
- ./bin/phpunit --group cache-clear
- ./bin/phpunit --group cache-clear-install
- ./bin/phpunit --group update-schema-doctrine --exclude-group update-schema-doctrine-install
- ./bin/phpunit --group update-schema-doctrine-install --filter=testInstallPluginWithNoProxy
- ./bin/phpunit --group update-schema-doctrine-install --filter=testInstallPluginWithProxy
- ./bin/phpunit --group update-schema-doctrine-install --filter=testEnablePluginWithNoProxy
- ./bin/phpunit --group update-schema-doctrine-install --filter=testEnablePluginWithProxy
- ./bin/phpunit --group update-schema-doctrine-install --filter=testDisablePluginWithNoProxy
- ./bin/phpunit --group update-schema-doctrine-install --filter=testDisablePluginWithProxy
- ./bin/phpunit --group update-schema-doctrine-install --filter=testCreateEntityAndTrait
jobs:
fast_finish: true
include:
# - &unit_test
# stage: Unit Test
# before_install:
# - *php_setup
# - gem install mailcatcher
# install:
# - *composer_install
# - *eccube_setup
# env: DATABASE_URL=mysql://root:@localhost/cube4_dev DATABASE_SERVER_VERSION=5
# script:
# - ./bin/phpunit --exclude-group cache-clear,cache-clear-install
# - ./bin/phpunit --group cache-clear
# - ./bin/phpunit --group cache-clear-install
# - <<: *unit_test
# env: DATABASE_URL=postgres://postgres:password@localhost/cube4_dev DATABASE_SERVER_VERSION=9
- &e2e_test
stage: E2E Test
before_install:
- *php_setup
- wget -c -nc --retry-connrefused --tries=0 http://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip
- unzip -o -q chromedriver_linux64.zip
- docker pull schickling/mailcatcher
- docker run -d -p 1080:1080 -p 1025:1025 --name mailcatcher schickling/mailcatcher
install:
- *composer_install
- *eccube_setup
php: 7.3
env: GROUP=admin01 APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025
script: ./codeception.sh -g ${GROUP}
- <<: *e2e_test
php: 7.3
env: GROUP=admin02 APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025
- <<: *e2e_test
php: 7.3
env: GROUP=admin03 APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025
- <<: *e2e_test
php: 7.3
env: GROUP=front APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_enable_disable_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_enable_disable_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_remove_store
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_update_enable_disable_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_update_enable_disable_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_update_disable_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_update_disable_remove_local
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_enable_disable_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_enable_disable_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_enable
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_disable_disable
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_assets_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_assets_store
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_disabled_remove_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_disabled_remove_local
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_crossed_store
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_crossed_local
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_dependency_each_install_plugin
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_dependency_plugin_install
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_dependency_plugin_update
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_error
- |
./codeception.sh --reset
psql eccube_db -h 127.0.0.1 -U postgres -c "update dtb_base_info set authentication_key='test', php_path = '$(which php)';"
./codeception.sh EA10PluginCest:install_enable_disable_enable_disable_remove_store
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=mysql://root:@localhost/eccube_db DATABASE_SERVER_VERSION=5 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_enable_disable_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_enable_disable_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_remove_store
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=mysql://root:@localhost/eccube_db DATABASE_SERVER_VERSION=5 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_update_enable_disable_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_disable_update_enable_disable_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_update_disable_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_update_disable_remove_local
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=mysql://root:@localhost/eccube_db DATABASE_SERVER_VERSION=5 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_enable_disable_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_update_enable_disable_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_enable_enable
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_disable_disable
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_assets_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_install_assets_store
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=mysql://root:@localhost/eccube_db DATABASE_SERVER_VERSION=5 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_disabled_remove_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_disabled_remove_local
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_crossed_store
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_extend_same_table_crossed_local
- <<: *e2e_test
php: 7.3
env: APP_ENV=codeception DATABASE_URL=mysql://root:@localhost/eccube_db DATABASE_SERVER_VERSION=5 MAILER_URL=smtp://localhost:1025 ECCUBE_PACKAGE_API_URL=http://localhost:8080 NO_FIXTURES=1
script:
- *package_api_setup
- |
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_dependency_each_install_plugin
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
./codeception.sh EA10PluginCest:test_dependency_plugin_install
# - |
# ./codeception.sh --reset
# mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test';"
# ./codeception.sh EA10PluginCest:test_dependency_plugin_update
- |
./codeception.sh --reset
mysql -h 127.0.0.1 -u root eccube_db -e "update dtb_base_info set authentication_key='test', php_path = '$(which php)';"
./codeception.sh EA10PluginCest:install_enable_disable_enable_disable_remove_store
# インストーラのテスト
- <<: *e2e_test
# codeceptionのbootstrapでデータ投入を行っているので、本来は不要だけどコマンドラインからのインストールを実行させる
php: 7.3
env: GROUP=installer APP_ENV=codeception DATABASE_URL=postgres://postgres:password@localhost/eccube_db DATABASE_SERVER_VERSION=9 MAILER_URL=smtp://localhost:1025
script:
- echo "APP_ENV=install" >> .env
- ./codeception.sh -g ${GROUP}
# - stage: Code Coverage
# if: type != pull_request
# env: DATABASE_URL=sqlite:///%kernel.project_dir%/var/eccube.db DATABASE_SERVER_VERSION=3 COVERAGE=1
# before_install:
# - *php_setup
# - gem install mailcatcher
# install:
# - *composer_install
# - *eccube_setup
# script:
# - docker run -e DATABASE_URL=sqlite:////usr/src/myapp/var/eccube.db -v "$PWD":/usr/src/myapp:cached -w /usr/src/myapp --rm nanasess/phpdbg phpdbg -qrr -dmemory_limit=-1 ./bin/phpunit --exclude-group cache-clear --coverage-clover=coverage.clover
# after_success:
# - sed -i.bak -e 's|/usr/src/myapp/||g' coverage.clover
# - php vendor/bin/php-coveralls -v -x coverage.clover
# after_script:
# - wget https://scrutinizer-ci.com/ocular.phar
# - php ocular.phar code-coverage:upload --format=php-clover coverage.clover