Skip to content
Snippets Groups Projects
Commit 90e96923 authored by Mantas Varatiejus's avatar Mantas Varatiejus
Browse files

Coveralls integration

parent d7513516
No related branches found
No related tags found
No related merge requests found
coverage_clover: coverage.clover
service_name: travis-ci
src_dir: ./
json_path: ./coveralls.json
sudo: false sudo: false
language: php language: php
php: php:
- 5.4
- 5.5 - 5.5
- 5.6 - 5.6
- 7.0 - 7.0
- hhvm
matrix: matrix:
allow_failures: allow_failures:
- php: hhvm - php: hhvm
before_script: before_script:
- composer install --no-interaction - composer install --no-interaction --prefer-dist
script: script:
- vendor/bin/phpunit --coverage-clover=coverage.clover - vendor/bin/phpunit --coverage-clover=coverage.clover
- vendor/bin/phpcs -p --standard=PSR2 --ignore=vendor/ ./ - 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
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.4", "phpunit/phpunit": "~4.4",
"squizlabs/php_codesniffer": "~2.0" "squizlabs/php_codesniffer": "~2.0",
"satooshi/php-coveralls": "~0.7"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment