Skip to content

Commit

Permalink
Travis builds post coverage info to coveralls.io and add README badge.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojvek committed Jul 26, 2016
1 parent fc167f8 commit db9a0c5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ out-editor-min/
out-monaco-editor-core/
out-vscode/
out-vscode-min/
build/node_modules
build/node_modules
coverage/
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# 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
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"azure-storage": "^0.3.1",
"clean-css": "3.4.6",
"clone": "^1.0.2",
"coveralls": "^2.11.11",
"debounce": "^1.0.0",
"documentdb": "^1.5.1",
"event-stream": "^3.1.7",
Expand Down
4 changes: 2 additions & 2 deletions test/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {});
});
}
Expand Down

0 comments on commit db9a0c5

Please sign in to comment.