1
0
Fork 0

Add coverage reporting

pull/14/head
Felix Becker 2016-09-06 10:42:39 +02:00
parent d1b9b33741
commit b9b10d9036
2 changed files with 6 additions and 2 deletions

View File

@ -7,4 +7,7 @@ install:
- composer install
script:
- vendor/bin/phpunit --bootstrap vendor/autoload.php tests
- vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist src --bootstrap vendor/autoload.php tests
after_success:
- bash <(curl -s https://codecov.io/bash)

View File

@ -42,6 +42,7 @@
}
},
"require-dev": {
"phpunit/phpunit": "^5.5"
"phpunit/phpunit": "^5.5",
"phpunit/php-code-coverage": "^4.0"
}
}