Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
Added coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Nov 27, 2016
1 parent f1bcff4 commit 28ce252
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage_clover: ./clover.xml
json_path: ./coveralls-upload.json
service_name: travis-ci
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ matrix:
- php: hhvm-nightly

before_script:
- composer require satooshi/php-coveralls:dev-master
- composer install && composer dump-autoload -o

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

after_script:
- php vendor/bin/coveralls -v

0 comments on commit 28ce252

Please sign in to comment.