Coveralls integration
This commit is contained in:
parent
96a47ec0ae
commit
e47ce1b4fc
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue