mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-21 20:16:03 +03:00
Updated composer scripts to run tests (#519)
This commit is contained in:
parent
e341a44a5c
commit
6aecbd5be4
@ -17,7 +17,7 @@ branches:
|
||||
- /^patch-.*$/
|
||||
|
||||
env:
|
||||
- TEST_COMMAND="composer test-all"
|
||||
- TEST_COMMAND="composer test"
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
@ -37,10 +37,8 @@
|
||||
}
|
||||
],
|
||||
"scripts": {
|
||||
"test": "vendor/bin/phpunit --testsuite unit && vendor/bin/phpunit --testsuite functional",
|
||||
"test-all": "vendor/bin/phpunit --testsuite all",
|
||||
"test-integration": "vendor/bin/phpunit --testsuite integration",
|
||||
"test-coverage": "vendor/bin/phpunit --testsuite all --coverage-text --coverage-clover=build/coverage.xml"
|
||||
"test": "vendor/bin/phpunit",
|
||||
"test-coverage": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
|
@ -10,23 +10,9 @@
|
||||
testSuiteLoaderClass="PHPUnit_Runner_StandardTestSuiteLoader">
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="all">
|
||||
<testsuite name="Mailgun test suite">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
|
||||
<testsuite name="unit">
|
||||
<directory>tests</directory>
|
||||
<exclude>tests/Integration</exclude>
|
||||
<exclude>test/Functional</exclude>
|
||||
</testsuite>
|
||||
|
||||
<testsuite name="integration">
|
||||
<directory>tests/Integration</directory>
|
||||
</testsuite>
|
||||
|
||||
<testsuite name="functional">
|
||||
<directory>tests/Functional</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
|
Loading…
Reference in New Issue
Block a user