mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
finally fix phpunit and travis?
This commit is contained in:
parent
e11e03cb32
commit
367664ee87
3 changed files with 31 additions and 31 deletions
|
@ -1,4 +1,6 @@
|
|||
language: php
|
||||
php:
|
||||
- 5.5
|
||||
branches:
|
||||
only:
|
||||
- refactor
|
|
@ -1,31 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
bootstrap="bootstrap.php.cache"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="wallabag Test Suite">
|
||||
<directory>../src/*/*Bundle/Tests</directory>
|
||||
<directory>../src/*/Bundle/*Bundle/Tests</directory>
|
||||
<directory>../src/*Bundle/Tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>../src</directory>
|
||||
<exclude>
|
||||
<directory>../src/*Bundle/Resources</directory>
|
||||
<directory>../src/*Bundle/Tests</directory>
|
||||
<directory>../src/*/*Bundle/Resources</directory>
|
||||
<directory>../src/*/*Bundle/Tests</directory>
|
||||
<directory>../src/*/Bundle/*Bundle/Resources</directory>
|
||||
<directory>../src/*/Bundle/*Bundle/Tests</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
29
phpunit.xml.dist
Normal file
29
phpunit.xml.dist
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
bootstrap="app/bootstrap.php.cache"
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="wallabag Test Suite">
|
||||
<directory>src/Wallabag/*Bundle/Tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>src</directory>
|
||||
<exclude>
|
||||
<directory>src/*Bundle/Resources</directory>
|
||||
<directory>src/*Bundle/Tests</directory>
|
||||
<directory>src/*/*Bundle/Resources</directory>
|
||||
<directory>src/*/*Bundle/Tests</directory>
|
||||
<directory>src/*/Bundle/*Bundle/Resources</directory>
|
||||
<directory>src/*/Bundle/*Bundle/Tests</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
Loading…
Reference in a new issue