Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send coverage report to analysers #16

Closed
oparoz opened this issue Mar 8, 2017 · 1 comment
Closed

Send coverage report to analysers #16

oparoz opened this issue Mar 8, 2017 · 1 comment
Assignees
Milestone

Comments

@oparoz
Copy link
Member

oparoz commented Mar 8, 2017

In the scrutinizer config, in tools, add:

    external_code_coverage:
        timeout: 3600 # Timeout in seconds. 60 minutes

In drone, add a post test command

  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover tests/_output/coverage.xml
  - bash <(curl -s https://codecov.io/bash) -f tests/_output/coverage.xml -t ff710fa8-260c-4a61-bdd3-0771d6aea5b5

In the Readme, add

[![Code Coverage](https://scrutinizer-ci.com/g/nextcloud/circles/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/circles/?branch=master)

Documentation

https://docs.codecov.io/docs/about-the-codecov-bash-uploader

@oparoz oparoz added this to the V1.0 milestone Mar 8, 2017
@oparoz oparoz changed the title Send coverage report to analyszers Send coverage report to analysers Mar 8, 2017
ArtificialOwl added a commit that referenced this issue Mar 8, 2017
@ArtificialOwl
Copy link
Member

we will use codecov only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants