mirror of
https://github.com/desktop/desktop
synced 2024-08-24 10:47:29 +00:00
69 lines
1.7 KiB
YAML
69 lines
1.7 KiB
YAML
phases:
|
|
- phase: Windows
|
|
queue: Hosted VS2017
|
|
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: '8.11.1'
|
|
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
|
|
inputs:
|
|
versionSpec: '1.5.1'
|
|
- script: |
|
|
yarn install --force
|
|
name: Install
|
|
- script: |
|
|
yarn lint
|
|
name: Lint
|
|
- script: |
|
|
yarn build:prod
|
|
name: Build
|
|
- script: |
|
|
yarn test:setup && yarn test
|
|
name: Test
|
|
|
|
- phase: Linux
|
|
queue: Hosted Linux Preview
|
|
steps:
|
|
- script: |
|
|
apt-get update
|
|
apt-get install -y --no-install-recommends libsecret-1-dev xvfb fakeroot dpkg rpm xz-utils xorriso zsync libxss1 libgconf2-4 libgtk-3-0
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: '8.11.1'
|
|
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
|
|
inputs:
|
|
versionSpec: '1.5.1'
|
|
- script: |
|
|
yarn install --force
|
|
name: Install
|
|
- script: |
|
|
yarn lint
|
|
name: Lint
|
|
- script: |
|
|
yarn build:prod
|
|
name: Build
|
|
- script: |
|
|
export DISPLAY=':99.0'
|
|
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
yarn test:setup && yarn test
|
|
name: Test
|
|
|
|
- phase: macOS
|
|
queue: Hosted macOS Preview
|
|
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: '8.11.1'
|
|
- script: |
|
|
yarn install --force
|
|
name: Install
|
|
- script: |
|
|
yarn lint
|
|
name: Lint
|
|
- script: |
|
|
yarn build:prod
|
|
name: Build
|
|
- script: |
|
|
yarn test:setup && yarn test
|
|
name: Test
|