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