Coveralls integration

This commit is contained in:
Christian Zosel 2018-05-19 12:39:30 +02:00
parent 96a47ec0ae
commit e47ce1b4fc
2 changed files with 5 additions and 4 deletions

View File

@ -54,6 +54,6 @@ script:
## PHPDocumentor
- if [ -z "$COVERAGE" ]; then ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --ignore "*/src/PhpWord/Shared/*/*" --template="responsive-twig" ; fi
after_script:
## Scrutinizer
- if [ -n "$COVERAGE" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml ; fi
after_success:
## Coveralls
- if [ -z "$COVERAGE" ]; then travis_retry php vendor/bin/php-coveralls -v ; fi

View File

@ -61,7 +61,8 @@
"php": "^5.3.3 || ^7.0",
"ext-xml": "*",
"zendframework/zend-escaper": "^2.2",
"phpoffice/common": "^0.2"
"phpoffice/common": "^0.2",
"php-coveralls/php-coveralls": "1.1.0"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.0",