11name : ' $(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
44# on changes in the news and .vscode folders.
55trigger :
66 branches :
@@ -21,6 +21,55 @@ variables:
2121 VSC_PYTHON_FORCE_LOGGING : true # Enable this to turn on console output for the logger
2222
2323jobs :
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
2473
2574- job : ' CI'
2675
@@ -224,43 +273,36 @@ jobs:
224273 TestsToRun : ' testfunctional'
225274 NeedsPythonTestReqs : true
226275 NeedsPythonFunctionalReqs : true
227- # This tells the functional tests to not mock out Jupyter...
228- VSCODE_PYTHON_ROLLING : true
229276 ' Linux-Py3.7 Functional ' :
230277 PythonVersion : ' 3.7'
231278 VMImageName : ' ubuntu-16.04'
232279 TestsToRun : ' testfunctional'
233280 NeedsPythonTestReqs : true
234281 NeedsPythonFunctionalReqs : true
235- VSCODE_PYTHON_ROLLING : true
236282 ' Mac-Py3.7 Functional ' :
237283 PythonVersion : ' 3.7'
238284 VMImageName : ' macos-10.13'
239285 TestsToRun : ' testfunctional'
240286 NeedsPythonTestReqs : true
241287 NeedsPythonFunctionalReqs : true
242- VSCODE_PYTHON_ROLLING : true
243288 ' Windows-Py3.6 Functional ' :
244289 PythonVersion : ' 3.6'
245290 VMImageName : ' vs2017-win2016'
246291 TestsToRun : ' testfunctional'
247292 NeedsPythonTestReqs : true
248293 NeedsPythonFunctionalReqs : true
249- VSCODE_PYTHON_ROLLING : true
250294 ' Linux-Py3.6 Functional ' :
251295 PythonVersion : ' 3.6'
252296 VMImageName : ' ubuntu-16.04'
253297 TestsToRun : ' testfunctional'
254298 NeedsPythonTestReqs : true
255299 NeedsPythonFunctionalReqs : true
256- VSCODE_PYTHON_ROLLING : true
257300 ' Mac-Py3.6 Functional ' :
258301 PythonVersion : ' 3.6'
259302 VMImageName : ' macos-10.13'
260303 TestsToRun : ' testfunctional'
261304 NeedsPythonTestReqs : true
262305 NeedsPythonFunctionalReqs : true
263- VSCODE_PYTHON_ROLLING : true
264306
265307 pool :
266308 vmImage : $(VMImageName)
0 commit comments