Skip to content

Commit 69bf764

Browse files
committed
Merge pull request #46 from mvar/coveralls
Coveralls integration
2 parents d751351 + 90e9692 commit 69bf764

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.coveralls.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
coverage_clover: coverage.clover
2+
service_name: travis-ci
3+
src_dir: ./
4+
json_path: ./coveralls.json

.travis.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
sudo: false
22
language: php
33
php:
4+
- 5.4
45
- 5.5
56
- 5.6
67
- 7.0
8+
- hhvm
79
matrix:
810
allow_failures:
911
- php: hhvm
1012
before_script:
11-
- composer install --no-interaction
13+
- composer install --no-interaction --prefer-dist
1214
script:
1315
- vendor/bin/phpunit --coverage-clover=coverage.clover
1416
- vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/ ./
17+
after_script:
18+
- vendor/bin/coveralls
19+
notifications:
20+
webhooks:
21+
urls:
22+
- https://webhooks.gitter.im/e/81e47479feba5ba8dc47
23+
on_success: change
24+
on_start: never

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
},
1818
"require-dev": {
1919
"phpunit/phpunit": "~4.4",
20-
"squizlabs/php_codesniffer": "~2.0"
20+
"squizlabs/php_codesniffer": "~2.0",
21+
"satooshi/php-coveralls": "~0.7"
2122
},
2223
"autoload": {
2324
"psr-4": {

0 commit comments

Comments
 (0)