mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 06:36:06 +03:00
merge coverage
This commit is contained in:
parent
2551e11e4c
commit
670e7ecfbd
3
Makefile
3
Makefile
@ -14,6 +14,7 @@ delete_archive:
|
||||
rm -f $(ARCHIVE_NAME)
|
||||
|
||||
before_script:
|
||||
mkdir coverage
|
||||
# Change MySQL root password
|
||||
echo "USE mysql;\nUPDATE user SET password=PASSWORD('root') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
||||
composer install
|
||||
@ -23,4 +24,4 @@ before_script:
|
||||
sleep 2
|
||||
|
||||
covegare:
|
||||
wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/cov --clover coverage.xml
|
||||
wget https://phar.phpunit.de/phpcov.phar && php phpcov.phar merge coverage/ --clover coverage.xml
|
||||
|
@ -25,8 +25,8 @@
|
||||
"opencart-dir" : "www"
|
||||
},
|
||||
"scripts" : {
|
||||
"test-admin": "bin/phpunit --coverage-php coverage/cov/admin.cov --testsuite tests --colors=always",
|
||||
"test-catalog": "bin/phpunit --coverage-php coverage/cov/catalog.cov --testsuite catalog-tests --colors=always",
|
||||
"test-admin": "bin/phpunit --coverage-php coverage/admin.cov --testsuite tests --colors=always",
|
||||
"test-catalog": "bin/phpunit --coverage-php coverage/catalog.cov --testsuite catalog-tests --colors=always",
|
||||
"test": [
|
||||
"@test-admin",
|
||||
"@test-catalog"
|
||||
|
Loading…
Reference in New Issue
Block a user