forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvsts.yml
82 lines (79 loc) · 2.08 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
jobs:
- job: Windows
pool:
vmImage: vs2017-win2016
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 build:prod
name: Build
- script: |
yarn test:setup && yarn test
name: Test
- job: Linux
pool:
vmImage: ubuntu-16.04
steps:
- script: |
sudo apt-get update
sudo 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 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
- job: macOS
pool:
vmImage: xcode9-macos10.13
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.11.1'
- script: |
yarn install --force
name: Install
- script: |
yarn build:prod
name: Build
- script: |
yarn test:setup && yarn test
name: Test
- job: Lint
pool:
vmImage: ubuntu-16.04
steps:
- script: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libsecret-1-dev
- 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