I can't get Coveralls to display coverage for my node.js. project Here are my settings:
- Node.js project on github
- tests with mocha
- Istanbul coverage
- travis-ci for CI
- using coveralls to send coverage data to coveralls
I created the following .travis.yml file:
language: node_js
node_js:
- 0.11
- 0.10
after_success:
npm run coveralls
And in my package.json file there is the following script:
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
Coveralls recognizes all affected files (index.js and my lib folder), but does not display any coverage for any of the files.
Here's what the assembly looks like on overalls: https://coveralls.io/builds/1851378
, ( , , lcov.info ):
Statements : 87.85% ( 253/288 )
Branches : 75.34% ( 55/73 )
Functions : 86.25% ( 69/80 )
Lines : 87.85% ( 253/288 )
- , ?
, , . ...