https://codecov.io | @codecov | [email protected] |
---|
This repository serves as an example on how to use Codecov Global for PHP.
Add to your .travis.yml
file.
after_success:
- bash <(curl -s https://codecov.io/bash)
All other CI you can simply run
bash <(curl -s https://codecov.io/bash)
.
Add to your .travis.yml
file.
after_success:
- bash <(curl -s https://codecov.io/bash) -t :uuid-repo-token
Or you can set the enviornment variable
CODECOV_TOKEN
to your token.
View source and lean more about Codecov Global Uploader
Start tracking coverage metrics by adding a coverage logger:
...
<logging>
<log type="coverage-clover" target="clover.xml"/>
</logging>
</phpunit>