Move phpunit call after first params

This commit is contained in:
Gerhard 2019-03-19 13:33:21 +02:00
parent b105550b47
commit dc99c30772
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ before_script:
# Install WP Test suite, install PHPUnit globally if needed:
if [[ ! -z "$WP_VERSION" ]] ; then
bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION
composer global require "phpunit/phpunit=4.8.*|5.7.*"
composer global require "phpunit/phpunit=4.8.*|6.5.*"
fi
- |
# Install wpcs globally if needed:

View File

@ -5,7 +5,7 @@ if [[ ${RUN_PHPCS} == 1 ]] || [[ ${RUN_E2E} == 1 ]]; then
fi
if [[ ${RUN_CODE_COVERAGE} == 1 ]]; then
phpdbg -qrr -d memory_limit=-1 phpunit -c phpunit.xml --coverage-clover=coverage.clover --exclude-group=timeout
phpdbg -qrr phpunit -d memory_limit=-1 -c phpunit.xml --coverage-clover=coverage.clover --exclude-group=timeout
else
phpunit -c phpunit.xml
fi