Skip to content
Snippets Groups Projects
Commit dbf4964a authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

bugfix(coverage): added XDEBUG_MODE=coverage

parent 5f13b96a
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
- cat /tmp/woocommerce/woocommerce.php
- ln -s $CI_PROJECT_DIR /tmp/wordpress-develop/src/wp-content/plugins/$CI_PROJECT_NAME
script:
- vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-integration.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
- XDEBUG_MODE=coverage && vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-integration.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
only:
refs:
- master
......
......@@ -19,7 +19,7 @@
- php --version
- cat /tmp/wordpress-develop/src/wp-includes/version.php
- cat /tmp/woocommerce/woocommerce.php
- vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-unit.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
- XDEBUG_MODE=coverage && vendor/bin/phpunit -d memory_limit=-1 --configuration phpunit-unit.xml --coverage-text --colors=never --log-junit tmp_artifacts/report.xml
only:
- master
except:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment