Combine both phpunit configs into one
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
9085f08269
commit
e9dfd13fe0
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<phpunit bootstrap="bootstrap.php"
|
||||
verbose="true"
|
||||
>
|
||||
<testsuite name='Registration app tests'>
|
||||
<directory suffix='Test.php'>Unit</directory>
|
||||
</testsuite>
|
||||
<!-- filters for code coverage -->
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">../</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
>
|
||||
<testsuite name='Registration app tests'>
|
||||
<directory suffix='Test.php'>Integration</directory>
|
||||
<directory suffix='Test.php'>Unit</directory>
|
||||
</testsuite>
|
||||
<!-- filters for code coverage -->
|
||||
<filter>
|
||||
|
|
@ -7,7 +7,6 @@ set -e
|
|||
cd ${BUILD_APP_MODULE_DIR}
|
||||
|
||||
composer install --prefer-dist --no-interaction -o
|
||||
vendor/bin/phpunit -c tests/phpunit.unit.xml
|
||||
vendor/bin/phpunit -c tests/phpunit.integration.xml
|
||||
vendor/bin/phpunit -c tests/phpunit.xml
|
||||
|
||||
echo "travis_fold:end:phpunit"
|
||||
|
|
|
|||
Loading…
Reference in New Issue