-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (26 loc) · 1.16 KB
/
Makefile
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
ci:
vendor/bin/phpunit --color=always --testsuite unit-tests
vendor/bin/phpstan analyse -c vendor/landingi/php-coding-standards/phpstan.neon --memory-limit=256M
vendor/bin/ecs check --config vendor/landingi/php-coding-standards/ecs.php
fix:
vendor/bin/ecs check --fix --config vendor/landingi/php-coding-standards/ecs.php
test:
vendor/bin/phpunit --color=always --testsuite unit-tests
vendor/bin/phpunit --color=always --testsuite functional-tests
unit:
vendor/bin/phpunit --color=always --testsuite unit-tests
functional:
vendor/bin/phpunit --color=always --testsuite functional-tests
coverage:
vendor/bin/phpunit --coverage-text
coverage-html:
vendor/bin/phpunit --coverage-html=build/coverage/
analyse:
vendor/bin/phpstan analyse -c vendor/landingi/php-coding-standards/phpstan.neon --memory-limit=256M
vendor/bin/ecs check --config vendor/landingi/php-coding-standards/ecs.php
code-quality:
vendor/bin/phpunit --coverage-clover=build/coverage.xml
vendor/bin/cqt quality:coverage-validate --coverage-clover-path=build/coverage.xml --crap-threshold=5
run:
composer install --no-interaction --prefer-dist
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf