Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit 2c70438

Browse files
committed
Merge pull request #15 from codacy/fix/docs
Review project
2 parents 4b3bc4e + 692d482 commit 2c70438

File tree

3 files changed

+24
-19
lines changed

3 files changed

+24
-19
lines changed

.travis.yml

-17
This file was deleted.

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
[![Codacy Badge](https://api.codacy.com/project/badge/grade/d992a862b1994805907ec277e16b0fda)](https://www.codacy.com/app/Codacy/php-codacy-coverage)
2+
[![Codacy Badge](https://api.codacy.com/project/badge/coverage/d992a862b1994805907ec277e16b0fda)](https://www.codacy.com/app/Codacy/php-codacy-coverage)
3+
[![Circle CI](https://circleci.com/gh/codacy/php-codacy-coverage.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/codacy/php-codacy-coverage)
4+
[![Latest Stable Version](https://poser.pugx.org/codacy/coverage/version)](https://packagist.org/packages/codacy/coverage)
5+
16
# Codacy PHP Coverage Reporter
27
[Codacy](https://codacy.com/) coverage support for PHP. Get coverage reporting and code analysis for PHP from Codacy.
38

4-
[![Codacy Badge](https://www.codacy.com/project/badge/d992a862b1994805907ec277e16b0fda)](https://www.codacy.com/public/caxaria/php-codacy-coverage)
5-
69
# Prerequisites
710

811
- PHP 5.3 or later
@@ -70,6 +73,11 @@ Even more control:
7073
- ```--base-url=<OTHER_URL>``` defaults to http://codacy.com
7174
- ```--git-commit=<COMMIT_HASH>``` defaults to the last commit hash
7275

76+
## Circle CI
77+
78+
This project sends its own coverage during the build in circleCI.
79+
Feel free to check our `circle.yml`, and send your coverage as a step of your build process.
80+
7381
## Travis CI
7482

7583
Add codacycoverage to your `.travis.yml`:

circle.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
machine:
2+
php:
3+
version: 5.3.10
4+
5+
dependencies:
6+
pre:
7+
- curl -s http://getcomposer.org/installer | php
8+
- php composer.phar install -n
9+
- sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini
10+
11+
test:
12+
post:
13+
- php vendor/bin/phpunit
14+
- php bin/codacycoverage clover

0 commit comments

Comments
 (0)