This repository was archived by the owner on Feb 19, 2020. It is now read-only.
File tree 3 files changed +24
-19
lines changed
3 files changed +24
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
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
+
1
6
# Codacy PHP Coverage Reporter
2
7
[ Codacy] ( https://codacy.com/ ) coverage support for PHP. Get coverage reporting and code analysis for PHP from Codacy.
3
8
4
- [ ![ Codacy Badge] ( https://www.codacy.com/project/badge/d992a862b1994805907ec277e16b0fda )] ( https://www.codacy.com/public/caxaria/php-codacy-coverage )
5
-
6
9
# Prerequisites
7
10
8
11
- PHP 5.3 or later
@@ -70,6 +73,11 @@ Even more control:
70
73
- ``` --base-url=<OTHER_URL> ``` defaults to http://codacy.com
71
74
- ``` --git-commit=<COMMIT_HASH> ``` defaults to the last commit hash
72
75
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
+
73
81
## Travis CI
74
82
75
83
Add codacycoverage to your ` .travis.yml ` :
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments