Skip to content

Commit a1a675f

Browse files
committed
Generate coverage statistics.
1 parent b81cea3 commit a1a675f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
/.gitignore export-ignore
77
/.travis.yml export-ignore
88
/CHANGELOG.md export-ignore
9+
/coverage.xml export-ignore
910
/phpunit.xml.dist export-ignore
1011
/README.md export-ignore

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
vendor/
22
composer.lock
3+
coverage.xml
34
phpunit.xml

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ install:
1313
- travis_retry composer install --no-interaction --prefer-dist
1414

1515
script:
16-
- vendor/bin/phpunit
16+
- vendor/bin/phpunit --coverage-clover=coverage.xml
17+
18+
after_success:
19+
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)