introduce VSCODE_STEP_ON_IT

This commit is contained in:
Joao Moreno
2019-06-20 16:03:41 +02:00
parent 997e91421e
commit 005b19e5bc
5 changed files with 114 additions and 5 deletions

View File

@@ -27,18 +27,38 @@ steps:
git config user.email "vscode@microsoft.com"
git config user.name "VSCode"
displayName: Prepare tooling
- script: |
set -e
git remote add distro "https://github.com/$(VSCODE_MIXIN_REPO).git"
git fetch distro
git merge $(node -p "require('./package.json').distro")
displayName: Merge distro
- script: |
set -e
CHILD_CONCURRENCY=1 yarn
displayName: Install dependencies
- script: |
set -e
yarn gulp mixin
displayName: Mix in quality
- script: |
set -e
yarn gulp hygiene
yarn monaco-compile-check
displayName: Run hygiene checks
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
- script: |
set -e
node build/azure-pipelines/common/installDistroDependencies.js
node build/azure-pipelines/common/installDistroDependencies.js remote
node build/lib/builtInExtensions.js
displayName: Prepare build
displayName: Install distro dependencies and extensions
- script: |
set -e
@@ -56,6 +76,7 @@ steps:
DISPLAY=:10 ./scripts/test.sh --build --tfs "Unit Tests"
# yarn smoketest -- --build "$(agent.builddirectory)/VSCode-linux-$(VSCODE_ARCH)"
displayName: Run unit tests
condition: eq(variables['VSCODE_STEP_ON_IT'], 'false')
- script: |
set -e