12 lines
305 B
Bash
Executable File
12 lines
305 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [[ ${RUN_PHPCS} == 1 ]] || [[ ${RUN_E2E} == 1 ]]; then
|
|
exit
|
|
fi
|
|
|
|
if [[ ${RUN_CODE_COVERAGE} == 1 ]]; then
|
|
phpdbg -qrr ./vendor/bin/phpunit -d memory_limit=-1 -c phpunit.xml --coverage-clover=coverage.clover --exclude-group=timeout $@
|
|
else
|
|
vendor/bin/phpunit -c phpunit.xml $@
|
|
fi
|