1
0
Fork 0

Add phpunit configuration file (#37)

pull/39/head
Michal Niewrzal 2016-09-29 16:09:23 +02:00 committed by Felix Becker
parent 41e9fb7e8a
commit bc2d6b9b59
2 changed files with 15 additions and 1 deletions

View File

@ -7,7 +7,7 @@ install:
- composer install - composer install
script: script:
- vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist src --bootstrap vendor/autoload.php tests - vendor/bin/phpunit --coverage-clover=coverage.xml
after_success: after_success:
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)

14
phpunit.xml.dist Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="PHP Language Server Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
</whitelist>
</filter>
</phpunit>