Skip to content

Add coverage reporting #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ matrix:
dist: precise
sudo: false
before_script: rm composer.lock && composer install
script: ./vendor/bin/phpunit
script: ./vendor/bin/phpunit --coverage-clover build/coverage/xml
after_script: ./vendor/bin/codacycoverage clover build/coverage/xml

3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"php": ">=5.3.2"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
"phpunit/phpunit": "~4.8",
"codacy/coverage": "^1.4"
},
"autoload": {
"psr-0": { "Sabberworm\\CSS": "lib/" }
Expand Down
279 changes: 278 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.