sergiu-paraschiv/phpci-istanbul

There is no license information available for the latest version (v2.1) of this package.

npm mocha plugin for PHPCI

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/sergiu-paraschiv/phpci-istanbul

v2.1 2016-05-18 14:47 UTC

This package is not auto-updated.

Last update: 2025-10-02 00:46:08 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"