forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvsts.yml
62 lines (60 loc) · 1.49 KB
/
vsts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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 && 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
- 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 && 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"
- 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 && yarn build:prod
name: Build
- script: |
yarn test:setup && yarn test
name: Test