Skip to content

Commit e47ce1b

Browse files
committed
Coveralls integration
1 parent 96a47ec commit e47ce1b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ script:
5454
## PHPDocumentor
5555
- if [ -z "$COVERAGE" ]; then ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --ignore "*/src/PhpWord/Shared/*/*" --template="responsive-twig" ; fi
5656

57-
after_script:
58-
## Scrutinizer
59-
- 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
57+
after_success:
58+
## Coveralls
59+
- if [ -z "$COVERAGE" ]; then travis_retry php vendor/bin/php-coveralls -v ; fi

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
"php": "^5.3.3 || ^7.0",
6262
"ext-xml": "*",
6363
"zendframework/zend-escaper": "^2.2",
64-
"phpoffice/common": "^0.2"
64+
"phpoffice/common": "^0.2",
65+
"php-coveralls/php-coveralls": "1.1.0"
6566
},
6667
"require-dev": {
6768
"phpunit/phpunit": "^4.8.36 || ^5.0",

0 commit comments

Comments
 (0)