Skip to content

Commit

Permalink
Coverage added
Browse files Browse the repository at this point in the history
  • Loading branch information
Unay Santisteban committed Oct 9, 2017
1 parent f367fb2 commit bcdb3bb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ install:
- composer install

script:
- ./vendor/bin/phpunit -c ./phpunit.xml
- ./vendor/bin/phpunit -c ./phpunit.xml
- ./vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash)
5 changes: 5 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<phpunit bootstrap="vendor/autoload.php">
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<testsuites>
<testsuite name="rest">
<directory>tests</directory>
Expand Down

0 comments on commit bcdb3bb

Please sign in to comment.