Skip to content

Commit

Permalink
fixing code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nhlm committed Apr 13, 2017
1 parent 59582ad commit cd2425b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ install:
- composer install

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

after_success:
- bash <(curl -s https://codecov.io/bash)
6 changes: 6 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@
<directory>tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>

0 comments on commit cd2425b

Please sign in to comment.