Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ldsouzatest/example-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codecov PHP Example

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 83.1%
  • Makefile 16.9%