mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
build - add remap ignores for less errors in build
This commit is contained in:
parent
f298203857
commit
ccd59d2c75
|
@ -38,10 +38,10 @@ install:
|
|||
- ./scripts/npm.sh install
|
||||
|
||||
script:
|
||||
- gulp hygiene
|
||||
- gulp electron
|
||||
- gulp compile
|
||||
- gulp optimize-vscode
|
||||
- gulp hygiene --silent
|
||||
- gulp electron --silent
|
||||
- gulp compile --silent
|
||||
- gulp optimize-vscode --silent
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./scripts/test.sh --reporter dot --coverage; else ./scripts/test.sh --reporter dot; fi
|
||||
- ./scripts/test-integration.sh
|
||||
|
||||
|
|
11
test/all.js
11
test/all.js
|
@ -105,7 +105,16 @@ function main() {
|
|||
});
|
||||
}
|
||||
|
||||
var remappedCoverage = i_remap(global.__coverage__).getFinalCoverage();
|
||||
var remapIgnores = [
|
||||
'vs/base/common/winjs.base.js',
|
||||
'vs/base/common/marked/marked.js',
|
||||
'vs/nls.js',
|
||||
'vs/css.js',
|
||||
'vs/base/common/marked/raw.marked.js',
|
||||
'vs/base/common/winjs.base.raw.js'
|
||||
];
|
||||
|
||||
var remappedCoverage = i_remap(global.__coverage__, { exclude: new RegExp(remapIgnores.join('|')) }).getFinalCoverage();
|
||||
|
||||
// The remapped coverage comes out with broken paths
|
||||
var toUpperDriveLetter = function(str) {
|
||||
|
|
Loading…
Reference in a new issue