Commit 079366d1 authored by Tino Goratsch's avatar Tino Goratsch

added some script to composer and use them with travis

parent 788f5961
......@@ -7,7 +7,9 @@ then
php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
elif [[ ${TRAVIS_PHP_VERSION} != "nightly" ]]
phpdbg -qrr ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
composer run-script test
# phpdbg -qrr ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml --coverage-clover ./build/logs/clover.xml
php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml
composer run-script test-without-coverage
# php ./vendor/bin/phpunit -c ./tests/phpunit.dist.xml
......@@ -81,5 +81,10 @@
"acp3/module-users": "self.version",
"acp3/module-wysiwyg-ckeditor": "self.version",
"acp3/module-wysiwyg-tinymce": "self.version"
"scripts": {
"test": "php ./vendor/bin/phpunit -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"
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