2017-10-05 16:09:39 +00:00
|
|
|
#!/usr/bin/env bash
|
2018-12-05 18:00:05 +00:00
|
|
|
|
|
|
|
if [[ ${RUN_PHPCS} == 1 ]] || [[ ${RUN_E2E} == 1 ]]; then
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2017-11-13 17:53:42 +00:00
|
|
|
if [[ ${RUN_CODE_COVERAGE} == 1 ]]; then
|
2020-11-12 22:46:39 +00:00
|
|
|
phpdbg -qrr ./vendor/bin/phpunit -d memory_limit=-1 -c phpunit.xml --coverage-clover=coverage.clover --exclude-group=timeout $@
|
2017-10-05 16:09:39 +00:00
|
|
|
else
|
2020-11-12 07:42:14 +00:00
|
|
|
vendor/bin/phpunit -c phpunit.xml $@
|
2017-10-05 16:09:39 +00:00
|
|
|
fi
|