Skip to content

admonkey/example-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codecov PHP Example

Build Status Codecov GitHub issues

https://codecov.io @codecov [email protected]

This repository serves as an example on how to use Codecov Global for PHP.

Travis CI

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).

Private Repos

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


Using phpunit.xml.dist?

Start tracking coverage metrics by adding a coverage logger:

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

About

PHP coverage example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.4%
  • Makefile 14.2%
  • Shell 4.4%