Use coveralls on Travis

parent e3c9a8fd
coverage_clover: clover.xml
json_path: /tmp/coveralls-upload.json
......@@ -11,6 +11,8 @@ before_install:
- |
if [ "x$COVERAGE" == "xyes" ]; then
pecl install pcov-1.0.0
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.2.0/php-coveralls.phar --output-document="${HOME}/bin/coveralls"
chmod +x ${HOME}/bin/coveralls
fi
before_script:
......@@ -36,6 +38,7 @@ after_script:
if [ "x$COVERAGE" == "xyes" ]; then
travis_retry wget https://github.com/scrutinizer-ci/ocular/releases/download/1.5.2/ocular.phar
travis_retry php ocular.phar code-coverage:upload --format=php-clover clover.xml
travis_retry coveralls -v
fi
jobs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment