File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ trigger :
2+ branches :
3+ include : ['pipeline']
4+ tags :
5+ include : ['*']
6+
7+ jobs :
8+ - job : tests
9+ displayName : Run tests
10+ steps :
11+ - script : ./configure
12+ - script : ./bin/py.test -vvs tests/commoncode
13+
14+ jobs :
15+ - job : Tests
16+
17+ strategy :
18+
19+ matrix :
20+ Python_27_Linux :
21+ imageName : ' ubuntu-16.04'
22+ python.version : ' 2.7'
23+ Python_27_Mac :
24+ imageName : ' macos-10.13'
25+ python.version : ' 2.7'
26+ Python_27_Win :
27+ imageName : ' vs2017-win2016'
28+ python.version : ' 2.7'
29+
30+ Python_36_Linux :
31+ imageName : ' ubuntu-16.04'
32+ python.version : ' 3.6'
33+ Python_36_Mac :
34+ imageName : ' macos-10.13'
35+ python.version : ' 3.6'
36+ Python_36_Windows :
37+ imageName : ' vs2017-win2016'
38+ python.version : ' 3.6'
39+
40+ Python_37_Linux :
41+ imageName : ' ubuntu-16.04'
42+ python.version : ' 3.7'
43+ Python_37_Mac :
44+ imageName : ' macos-10.13'
45+ python.version : ' 3.7'
46+ Python_37_Windows :
47+ imageName : ' vs2017-win2016'
48+ python.version : ' 3.7'
49+
50+ pool :
51+ vmImage : $(imageName)
52+
53+ steps :
54+
55+ - task : UsePythonVersion@0
56+ inputs :
57+ versionSpec : ' $(python.version)'
58+ architecture : ' x64'
59+
60+ - script : |
61+ configure
62+ bin/py.test -vvs
63+ displayName: 'Run tests'
You can’t perform that action at this time.
0 commit comments