PHP coverage example
PHP Makefile
Latest commit 1e30c06 Jan 10, 2017 @stevepeak stevepeak committed on GitHub Merge pull request #4 from DonRichards/patch-1
Just a typo
Permalink
Failed to load latest commit information.
src switch it up Sep 12, 2014
tests fix Sep 12, 2014
.gitignore clover clover Sep 12, 2014
.travis.yml new bash global uploader Apr 21, 2015
Makefile fix Sep 12, 2014
README.md Just a typo Jan 10, 2017
composer.json switch it up Sep 12, 2014
composer.lock fix Sep 12, 2014
phpunit.xml.dist switch it up Sep 12, 2014

README.md

Codecov PHP Example

  1. Collect coverage reports vendor/bin/phpunit --coverage-clover=coverage.xml, see here
  2. Call bash <(curl -s https://codecov.io/bash) at the end of your CI build, see here

Contact Codecov support team for help πŸ‘ https://codecov.io/support

Frequently Asked Questions

❔Using phpunit.xml.dist?

Start tracking coverage metrics by adding a coverage logger:

<phpunit>
  ...
  <logging>
        <log type="coverage-clover" target="clover.xml"/>
    </logging>
</phpunit>

❔I don't see one or more files?

Codecov will only show files that have lines covered (hit or miss). If your file has no statments it will not show up in Codecov until you add some. Go get em' tiger!