Skip to content

Commit 2c557d2

Browse files
committed
setup coveralls
1 parent cc6c618 commit 2c557d2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ before_script:
1010
- ./vendor/bin/phpcs -n --standard=PSR2 src/ tests/
1111

1212
script:
13-
- ./vendor/bin/phpunit --coverage-text
13+
- ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
14+
15+
after_script:
16+
- travis_retry php vendor/bin/php-coveralls -v

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
},
2525
"require-dev": {
2626
"phpunit/phpunit": "^6.5",
27-
"squizlabs/php_codesniffer": "^3"
27+
"squizlabs/php_codesniffer": "^3",
28+
"php-coveralls/php-coveralls": "^2.2"
2829
},
2930
"scripts": {
3031
"test": [

0 commit comments

Comments
 (0)