提交 8fb191d6 编写于 作者: A Alex Dima

Try to get TS coverage

上级 bdcc1977
......@@ -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
\ No newline at end of file
- 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
\ No newline at end of file
......@@ -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 () {});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册