lencse / ci-tools
Continuous integration devtools
Installs: 3 325
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.1.0
- corneltek/getoptionkit: ^2.5
- phpunit/phpunit: >=6.1
Requires (Dev)
README
Install
Via Composer
composer require lencse/ci-tools
Usage
Checking code coverage
# Create a Clover XML output of your project with PHPUnit phpunit --coverage-clover build/logs/clover.xml # Check code coverage vendor/bin/ci-test-coverage --min-coverage 95 --clover-file build/logs/clover.xml
Integrating into composer.json
{ "scripts": { "test-all": [ "phpunit --coverage-clover build/logs/clover.xml", "vendor/bin/ci-test-coverage --min-coverage 95 --clover-file build/logs/clover.xml" ] } }
composer test-all
Testing
composer test
License
The MIT License (MIT)