Skip to content

Commit

Permalink
Merge pull request #46 from mvar/coveralls
Browse files Browse the repository at this point in the history
Coveralls integration
  • Loading branch information
saimaz committed Dec 16, 2015
2 parents d751351 + 90e9692 commit 69bf764
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
coverage_clover: coverage.clover
service_name: travis-ci
src_dir: ./
json_path: ./coveralls.json
12 changes: 11 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
sudo: false
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- composer install --no-interaction
- composer install --no-interaction --prefer-dist
script:
- vendor/bin/phpunit --coverage-clover=coverage.clover
- vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/ ./
after_script:
- vendor/bin/coveralls
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/81e47479feba5ba8dc47
on_success: change
on_start: never
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"require-dev": {
"phpunit/phpunit": "~4.4",
"squizlabs/php_codesniffer": "~2.0"
"squizlabs/php_codesniffer": "~2.0",
"satooshi/php-coveralls": "~0.7"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 69bf764

Please sign in to comment.