mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 15:44:54 +02:00
php-coveralls: add page (#5235)
This commit is contained in:
parent
2cf8315b0d
commit
cae5a927a8
1 changed files with 36 additions and 0 deletions
36
pages/common/php-coveralls.md
Normal file
36
pages/common/php-coveralls.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
# php-coveralls
|
||||||
|
|
||||||
|
> A PHP client for Coveralls.
|
||||||
|
> More information: <https://php-coveralls.github.io/php-coveralls>.
|
||||||
|
|
||||||
|
- Send coverage information to Coveralls:
|
||||||
|
|
||||||
|
`php-coveralls`
|
||||||
|
|
||||||
|
- Send coverage information to Coveralls for a specific directory:
|
||||||
|
|
||||||
|
`php-coveralls --root_dir {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Send coverage information to Coveralls with a specific config:
|
||||||
|
|
||||||
|
`php-coveralls --config {{path/to/.coveralls.yml}}`
|
||||||
|
|
||||||
|
- Send coverage information to Coveralls with verbose output:
|
||||||
|
|
||||||
|
`php-coveralls --verbose`
|
||||||
|
|
||||||
|
- Send coverage information to Coveralls excluding source files with no executable statements:
|
||||||
|
|
||||||
|
`php-coveralls --exclude-no-stmt`
|
||||||
|
|
||||||
|
- Send coverage information to Coveralls with a specific environent name:
|
||||||
|
|
||||||
|
`php-coveralls --env {{test|dev|prod}}`
|
||||||
|
|
||||||
|
- Specify multiple Coverage Clover XML files to upload:
|
||||||
|
|
||||||
|
`php-coveralls --coverage_clover {{path/to/first_clover.xml}} --coverage_clover {{path/to/second_clover.xml}}`
|
||||||
|
|
||||||
|
- Output the JSON that will be sent to Coveralls to a specific file:
|
||||||
|
|
||||||
|
`php-coveralls --json_path {{path/to/coveralls-upload.json}}`
|
Loading…
Add table
Reference in a new issue