Skip to content

Commit 1858047

Browse files
committed
Limit Azure pipeline runs to a few OSes #1577
We are still evaluating azure, so no need to go full blown yet Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent f6a0b82 commit 1858047

1 file changed

Lines changed: 61 additions & 28 deletions

File tree

azure-pipelines.yml

Lines changed: 61 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trigger:
66

77
jobs:
88
- job: posix_tests
9-
displayName: Run tests on Linux and macOS
9+
displayName: POSIX
1010
strategy:
1111
matrix:
1212
#linux
@@ -25,13 +25,13 @@ jobs:
2525
imageName: macos-10.13
2626
pythonVersion: '3.6'
2727

28-
#Mojave
29-
macOS-10.14-py27:
30-
imageName: macos-10.14
31-
pythonVersion: '2.7'
32-
macOS-10.14-py37:
33-
imageName: macos-10.14
34-
pythonVersion: '3.6'
28+
# #Mojave
29+
# macOS-10.14-py27:
30+
# imageName: macos-10.14
31+
# pythonVersion: '2.7'
32+
# macOS-10.14-py37:
33+
# imageName: macos-10.14
34+
# pythonVersion: '3.6'
3535

3636
pool:
3737
vmImage: $(imageName)
@@ -40,33 +40,64 @@ jobs:
4040
- task: UsePythonVersion@0
4141
inputs:
4242
versionSpec: '$(pythonVersion)'
43-
43+
displayName: Install Python (using Azure task)
4444
- script: ./configure
45+
displayName: Run configure
4546
- script: ./bin/pytest -vvs tests/commoncode
47+
displayName: Run tests
4648

4749
- job : win_tests
48-
displayName: Run tests on Windows
50+
displayName: Win
4951
strategy:
5052
matrix:
51-
#Windows
52-
Windows-py27:
53+
Windows_2016_py27_x86:
5354
imageName: vs2017-win2016
5455
pythonVersion: '2.7'
55-
Windows-py36:
56+
architecture: x86
57+
Windows_2016_py36_x86:
5658
imageName: vs2017-win2016
5759
pythonVersion: '3.6'
58-
Windows1-py27:
59-
imageName: vs2015-win2012r2
60-
pythonVersion: '2.7'
61-
Windows1-py36:
62-
imageName: vs2015-win2012r2
63-
pythonVersion: '3.6'
64-
Windows2-py27:
65-
imageName: windows-2019
66-
pythonVersion: '2.7'
67-
Windows2-py36:
68-
imageName: windows-2019
69-
pythonVersion: '3.6'
60+
architecture: x86
61+
# Windows_2012_py27_x86:
62+
# imageName: vs2015-win2012r2
63+
# pythonVersion: '2.7'
64+
# architecture: x86
65+
# Windows_2012_py36_x86:
66+
# imageName: vs2015-win2012r2
67+
# pythonVersion: '3.6'
68+
# architecture: x86
69+
# Windows_2019_py27_x86:
70+
# imageName: windows-2019
71+
# pythonVersion: '2.7'
72+
# architecture: x86
73+
# Windows_2019_py36_x86:
74+
# imageName: windows-2019
75+
# pythonVersion: '3.6'
76+
# architecture: x86
77+
# Windows_2016_py27_x64:
78+
# imageName: vs2017-win2016
79+
# pythonVersion: '2.7'
80+
# architecture: x64
81+
# Windows_2016_py36_x64:
82+
# imageName: vs2017-win2016
83+
# pythonVersion: '3.6'
84+
# architecture: x64
85+
# Windows_2012_py27_x64:
86+
# imageName: vs2015-win2012r2
87+
# pythonVersion: '2.7'
88+
# architecture: x64
89+
# Windows_2012_py36_x64:
90+
# imageName: vs2015-win2012r2
91+
# pythonVersion: '3.6'
92+
# architecture: x64
93+
# Windows_2019_py27_x64:
94+
# imageName: windows-2019
95+
# pythonVersion: '2.7'
96+
# architecture: x64
97+
# Windows_2019_py36_x64:
98+
# imageName: windows-2019
99+
# pythonVersion: '3.6'
100+
# architecture: x64
70101

71102
pool:
72103
vmImage: $(imageName)
@@ -75,8 +106,10 @@ jobs:
75106
- task: UsePythonVersion@0
76107
inputs:
77108
versionSpec: '$(pythonVersion)'
78-
architecture: x64
109+
architecture: $(architecture)
110+
displayName: Install Python (using Azure task)
79111

80112
- script: configure
81-
displayName: configure
82-
- script: bin\pytest -vvs tests\commoncode
113+
displayName: Run configure
114+
- script: bin\pytest -vvs tests\commoncode
115+
displayName: Run tests

0 commit comments

Comments
 (0)