sergiu-paraschiv / phpci-istanbul
There is no license information available for the latest version (v2.1) of this package.
npm mocha plugin for PHPCI
v2.1
2016-05-18 14:47 UTC
This package is not auto-updated.
Last update: 2025-02-05 21:48:14 UTC
README
Istanbul reporter for PHPCI
Add this to composer.json
:
composer require sergiu-paraschiv/phpci-istanbul
Then the task to phpci.yml
:
\SergiuParaschiv\PHPCI\Plugin\Istanbul:
directory: "frontend"
command: "npm run -s coverage:ci"
outputDirectory: "../../../../public/coverage/frontend"
Npm should run with the -s
flag.
coverage:ci
in package.json
should be "istanbul cover --dir $DIR --root app _mocha -- --recursive app/test"