Skip to content

Commit da3bfe2

Browse files
committed
Adding code coverage
1 parent 41b0c39 commit da3bfe2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ script:
5353
#- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS
5454
- composer phpstan
5555
- ./vendor/bin/phpunit
56+
57+
after_success:
58+
- travis_retry php vendor/bin/php-coveralls -v

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"symfony/security-bundle": "^4.1.9",
2828
"symfony/yaml": "^4.1.9",
2929
"phpunit/phpunit": "^8.0.4",
30-
"phpstan/phpstan": "^0.11.4"
30+
"phpstan/phpstan": "^0.11.4",
31+
"php-coveralls/php-coveralls": "^2.1"
3132
},
3233
"scripts": {
3334
"phpstan": "phpstan analyse TdbmGraphqlBundle.php DependencyInjection/ Resources/ -c phpstan.neon --level=7 --no-progress"

0 commit comments

Comments
 (0)