1
1
name : ' $(Year:yyyy).$(Month).0.$(BuildID)-ci'
2
- # PR Validation build.
3
- # Notes: Only trigger a PR build for master and release, and skip build/rebuild
2
+ # CI build.
3
+ # Notes: Only trigger a commit for master and release, and skip build/rebuild
4
4
# on changes in the news and .vscode folders.
5
5
trigger :
6
6
branches :
@@ -21,6 +21,55 @@ variables:
21
21
VSC_PYTHON_FORCE_LOGGING : true # Enable this to turn on console output for the logger
22
22
23
23
jobs :
24
+ - job : Compile
25
+ variables :
26
+ Build : false
27
+ pool :
28
+ vmImage : " macos-10.13"
29
+ steps :
30
+ - template : templates/build.yml
31
+
32
+ - job : Build
33
+ variables :
34
+ Build : true
35
+ pool :
36
+ vmImage : " macos-10.13"
37
+ steps :
38
+ - template : templates/build.yml
39
+
40
+ - job : Smoke
41
+ dependsOn :
42
+ - Compile
43
+ - Build
44
+
45
+ strategy :
46
+ matrix :
47
+ ' Linux-Py3.7 ' :
48
+ PythonVersion : ' 3.7'
49
+ VMImageName : ' ubuntu-16.04'
50
+ TestsToRun : ' testSmoke'
51
+ NeedsPythonTestReqs : true
52
+ ' Mac-Py3.7 ' :
53
+ PythonVersion : ' 3.7'
54
+ VMImageName : ' macos-10.13'
55
+ TestsToRun : ' testSmoke'
56
+ NeedsPythonTestReqs : true
57
+ ' Linux-Py2.7 ' :
58
+ PythonVersion : ' 2.7'
59
+ VMImageName : ' ubuntu-16.04'
60
+ TestsToRun : ' testSmoke'
61
+ NeedsPythonTestReqs : true
62
+ ' Mac-Py2.7 ' :
63
+ PythonVersion : ' 2.7'
64
+ VMImageName : ' macos-10.13'
65
+ TestsToRun : ' testSmoke'
66
+ NeedsPythonTestReqs : true
67
+
68
+ pool :
69
+ vmImage : $(VMImageName)
70
+
71
+ steps :
72
+ - template : templates/uitest_phases.yml
24
73
25
74
- job : ' CI'
26
75
@@ -224,43 +273,36 @@ jobs:
224
273
TestsToRun : ' testfunctional'
225
274
NeedsPythonTestReqs : true
226
275
NeedsPythonFunctionalReqs : true
227
- # This tells the functional tests to not mock out Jupyter...
228
- VSCODE_PYTHON_ROLLING : true
229
276
' Linux-Py3.7 Functional ' :
230
277
PythonVersion : ' 3.7'
231
278
VMImageName : ' ubuntu-16.04'
232
279
TestsToRun : ' testfunctional'
233
280
NeedsPythonTestReqs : true
234
281
NeedsPythonFunctionalReqs : true
235
- VSCODE_PYTHON_ROLLING : true
236
282
' Mac-Py3.7 Functional ' :
237
283
PythonVersion : ' 3.7'
238
284
VMImageName : ' macos-10.13'
239
285
TestsToRun : ' testfunctional'
240
286
NeedsPythonTestReqs : true
241
287
NeedsPythonFunctionalReqs : true
242
- VSCODE_PYTHON_ROLLING : true
243
288
' Windows-Py3.6 Functional ' :
244
289
PythonVersion : ' 3.6'
245
290
VMImageName : ' vs2017-win2016'
246
291
TestsToRun : ' testfunctional'
247
292
NeedsPythonTestReqs : true
248
293
NeedsPythonFunctionalReqs : true
249
- VSCODE_PYTHON_ROLLING : true
250
294
' Linux-Py3.6 Functional ' :
251
295
PythonVersion : ' 3.6'
252
296
VMImageName : ' ubuntu-16.04'
253
297
TestsToRun : ' testfunctional'
254
298
NeedsPythonTestReqs : true
255
299
NeedsPythonFunctionalReqs : true
256
- VSCODE_PYTHON_ROLLING : true
257
300
' Mac-Py3.6 Functional ' :
258
301
PythonVersion : ' 3.6'
259
302
VMImageName : ' macos-10.13'
260
303
TestsToRun : ' testfunctional'
261
304
NeedsPythonTestReqs : true
262
305
NeedsPythonFunctionalReqs : true
263
- VSCODE_PYTHON_ROLLING : true
264
306
265
307
pool :
266
308
vmImage : $(VMImageName)
0 commit comments