summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorPhil Sturgeon <me@philsturgeon.com>2021-12-03 12:46:17 +0100
committerPhil Sturgeon <me@philsturgeon.com>2021-12-03 12:46:17 +0100
commite7110e559a0c46d5001368c25ed246ff303d3afe (patch)
tree68a44223c3c9664fbb3bea58c59cde5e3343018d /composer.json
parent298b06e5d823370a49dd49661cc8cc08f9a51ead (diff)
chore: back to travis
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.*"