summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index 722c9b7d9..3f423e17a 100644
--- a/composer.json
+++ b/composer.json
@@ -16,6 +16,12 @@
"suggest": {
"paragonie/random_compat": "Provides better randomness in PHP 5.x"
},
+ "scripts": {
+ "test:coverage": [
+ "@putenv XDEBUG_MODE=coverage",
+ "phpunit --color=always --coverage-text --configuration tests/travis/sqlite.phpunit.xml"
+ ]
+ },
"require-dev": {
"mikey179/vfsstream": "1.6.*",
"phpunit/phpunit": "4.* || 5.* || 9.*"