Try to get TS coverage
This commit is contained in:
parent
bdcc1977e3
commit
8fb191d692
|
@ -49,4 +49,5 @@ script:
|
|||
- ./scripts/test-integration.sh
|
||||
|
||||
after_success:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/coveralls < .build/coverage/lcov.info; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/remap-istanbul -i ./.build/coverage/coverage-final.json -t lcovonly > ./.build/coverage/lcov-remap.info; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/coveralls < .build/coverage/lcov-remap.info; fi
|
|
@ -80,6 +80,7 @@
|
|||
"object-assign": "^4.0.1",
|
||||
"optimist": "0.3.5",
|
||||
"queue": "3.0.6",
|
||||
"remap-istanbul": "^0.6.4",
|
||||
"rimraf": "^2.2.8",
|
||||
"sinon": "^1.17.2",
|
||||
"source-map": "^0.4.4",
|
||||
|
|
|
@ -108,7 +108,7 @@ function main() {
|
|||
collector.add(global.__coverage__);
|
||||
|
||||
var reporter = new istanbul.Reporter(null, path.join(path.dirname(__dirname), '.build', 'coverage'));
|
||||
reporter.addAll(['lcov', 'html']);
|
||||
reporter.addAll(['json', 'lcov', 'html']);
|
||||
reporter.write(collector, true, function () {});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue