commands.sh

php-coveralls

all

A PHP client for Coveralls.

More info →

Options (6)

-r, --root_dirboolean

Send coverage information to Coveralls for a specific directory

Example: php-coveralls {{[-r|--root_dir]}} {{path/to/directory}}
-c, --configboolean

Send coverage information to Coveralls with a specific config

Example: php-coveralls {{[-c|--config]}} {{path/to/.coveralls.yml}}
-v, --verboseboolean

Send coverage information to Coveralls with verbose output

Example: php-coveralls {{[-v|--verbose]}}
-e, --envboolean

Send coverage information to Coveralls with a specific environment name

Example: php-coveralls {{[-e|--env]}} {{test|dev|prod}}
-x, --coverage_cloverboolean

Specify multiple Coverage Clover XML files to upload

Example: php-coveralls {{[-x|--coverage_clover]}} {{path/to/first_clover.xml}} --coverage_clover {{path/to/second_clover.xml}}
-o, --json_pathboolean

Output the JSON that will be sent to Coveralls to a specific file

Example: php-coveralls {{[-o|--json_path]}} {{path/to/coveralls-upload.json}}

Examples (8)

Send coverage information to Coveralls

Send coverage information to Coveralls for a specific directory

php-coveralls [-r|--root_dir] path/to/directory

Send coverage information to Coveralls with a specific config

php-coveralls [-c|--config] path/to/.coveralls.yml

Send coverage information to Coveralls with verbose output

php-coveralls [-v|--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 environment name

php-coveralls [-e|--env] test|dev|prod

Specify multiple Coverage Clover XML files to upload

php-coveralls [-x|--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 [-o|--json_path] path/to/coveralls-upload.json
made by @shridhargupta | data from tldr-pages