Commit 9bff7c4e authored by Tino Goratsch's avatar Tino Goratsch

added some scripts

parent 079366d1
......@@ -7,9 +7,7 @@ then
php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
elif [[ ${TRAVIS_PHP_VERSION} != "nightly" ]]
then
composer run-script test
# phpdbg -qrr ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
phpdbg -qrr ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
else
composer run-script test-without-coverage
# php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml
php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml
fi
......@@ -83,8 +83,10 @@
"acp3/module-wysiwyg-tinymce": "self.version"
},
"scripts": {
"test": "php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml",
"test": "./vendor/bin/phpunit -c ./tests/phpunit.dist.xml",
"test-windows": ".\\vendor\\bin\\phpunit.bat -c .\\tests\\phpunit.dist.xml",
"test-with-coverage": "phpdbg -qrr ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml",
"lint": "php ./vendor/bin/php-cs-fixer"
"lint": "./vendor/bin/php-cs-fixer fix",
"lint-windows": ".\\vendor\\bin\\php-cs-fixer.bat fix"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment