Modify the sources for the instrumentation
This commit is contained in:
Родитель
e04c667cd0
Коммит
93d69f8681
|
@ -1,7 +1,7 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- "10"
|
- "8"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CODE_VERSION=1.28.0
|
- CODE_VERSION=1.28.0
|
||||||
|
@ -32,9 +32,9 @@ install:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- gulp 'vsix:release:unpackage'
|
- gulp 'vsix:release:unpackage'
|
||||||
- gulp cov:instrument --codeExtensionPath ./vsix/extension
|
- gulp cov:instrument
|
||||||
- gulp test --codeExtensionPath ./vsix/extension
|
- gulp test
|
||||||
- gulp cov:report --codeExtensionPath ./vsix/extension
|
- gulp cov:report
|
||||||
- npm run test:artifacts
|
- npm run test:artifacts
|
||||||
- 'if [[ "$TRAVIS_BRANCH" != "master" && "$TRAVIS_PULL_REQUEST" = "false" ]]; then npm run test:release; fi'
|
- 'if [[ "$TRAVIS_BRANCH" != "master" && "$TRAVIS_PULL_REQUEST" = "false" ]]; then npm run test:release; fi'
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ export const unpackedVsixPath = path.join(rootPath, "vsix");
|
||||||
export const unpackedExtensionPath = path.join(unpackedVsixPath, "extension");
|
export const unpackedExtensionPath = path.join(unpackedVsixPath, "extension");
|
||||||
|
|
||||||
export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath;
|
export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath;
|
||||||
export const codeExtensionSourcesPath = path.join(codeExtensionPath, "out");
|
export const codeExtensionSourcesPath = path.join(codeExtensionPath, "dist");
|
||||||
|
|
||||||
export const testRootPath = path.join(rootPath, "out", "test");
|
export const testRootPath = path.join(rootPath, "out", "test");
|
||||||
export const testAssetsRootPath = path.join(rootPath, "test", "integrationTests", "testAssets");
|
export const testAssetsRootPath = path.join(rootPath, "test", "integrationTests", "testAssets");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче