Skip to content

sergiu-paraschiv/PHPCI-istanbul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHPCI-istanbul

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"