Ensured phpunit is run using phpdbg, to avoid the requirement on xdebug

This commit is contained in:
Alejandro Celaya 2018-11-03 11:02:19 +01:00
parent 8fc1d23e03
commit 40815e5b38

View File

@ -112,15 +112,15 @@
"@test:unit:ci", "@test:unit:ci",
"@test:func" "@test:func"
], ],
"test:unit": "phpunit --order-by=random --coverage-php build/coverage-unit.cov", "test:unit": "phpdbg -qrr vendor/bin/phpunit --order-by=random --coverage-php build/coverage-unit.cov",
"test:unit:ci": "phpunit --order-by=random --coverage-php build/coverage-unit.cov --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml --log-junit=build/phpunit.junit.xml", "test:unit:ci": "phpdbg -qrr vendor/bin/phpunit --order-by=random --coverage-php build/coverage-unit.cov --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml --log-junit=build/phpunit.junit.xml",
"test:func": "phpunit --order-by=random -c phpunit-func.xml --coverage-php build/coverage-func.cov", "test:func": "phpdbg -qrr vendor/bin/phpunit --order-by=random -c phpunit-func.xml --coverage-php build/coverage-func.cov",
"test:pretty": [ "test:pretty": [
"@test", "@test",
"phpcov merge build --html build/html" "phpcov merge build --html build/html"
], ],
"test:unit:pretty": "phpunit --coverage-html build/coverage --order-by=random", "test:unit:pretty": "phpdbg -qrr vendor/bin/phpunit --coverage-html build/coverage --order-by=random",
"infect": "infection --threads=4 --min-msi=60 --log-verbosity=2 --only-covered", "infect": "infection --threads=4 --min-msi=60 --log-verbosity=2 --only-covered",
"infect:ci": "infection --threads=4 --min-msi=60 --log-verbosity=2 --only-covered --coverage=build", "infect:ci": "infection --threads=4 --min-msi=60 --log-verbosity=2 --only-covered --coverage=build",