提交 db9a0c5e 编写于 作者: N Noj Vek

Travis builds post coverage info to coveralls.io and add README badge.

上级 fc167f86
......@@ -10,4 +10,5 @@ out-editor-min/
out-monaco-editor-core/
out-vscode/
out-vscode-min/
build/node_modules
\ No newline at end of file
build/node_modules
coverage/
\ No newline at end of file
......@@ -42,5 +42,8 @@ script:
- gulp electron
- gulp compile
- gulp optimize-vscode
- ./scripts/test.sh
- ./scripts/test.sh --coverage
- ./scripts/test-integration.sh
after_success:
- cat coverage/lcov.info | node_modules/.bin/coveralls
\ No newline at end of file
# Visual Studio Code - Open Source
[![Build Status](https://travis-ci.org/Microsoft/vscode.svg?branch=master)](https://travis-ci.org/Microsoft/vscode) [![Build status](https://ci.appveyor.com/api/projects/status/vuhlhg80tj3e2a0l?svg=true)](https://ci.appveyor.com/project/VSCode/vscode)
[![Build Status](https://travis-ci.org/Microsoft/vscode.svg?branch=master)](https://travis-ci.org/Microsoft/vscode)
[![Build status](https://ci.appveyor.com/api/projects/status/vuhlhg80tj3e2a0l?svg=true)](https://ci.appveyor.com/project/VSCode/vscode)
[![Coverage Status](https://img.shields.io/coveralls/Microsoft/vscode/master.svg)](https://coveralls.io/github/Microsoft/vscode?branch=master)
[VS Code](https://code.visualstudio.com) is a new type of tool that combines the simplicity of
a code editor with what developers need for their core edit-build-debug cycle. Code
......
......@@ -107,8 +107,8 @@ function main() {
var collector = new istanbul.Collector();
collector.add(global.__coverage__);
var reporter = new istanbul.Reporter(null, path.join(path.dirname(path.dirname(__dirname)), 'Code-Coverage'));
reporter.add('html');
var reporter = new istanbul.Reporter();
reporter.addAll(['lcov', 'html']);
reporter.write(collector, true, function () {});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册