-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathazure-pipelines.yml
40 lines (35 loc) · 995 Bytes
/
azure-pipelines.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
jobs:
- job: 'Test'
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python312:
python.version: '3.12'
Python311:
python.version: '3.11'
Python310:
python.version: '3.10'
Python39:
python.version: '3.9'
Python38:
python.version: '3.8'
maxParallel: 5
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
architecture: 'x64'
allowUnstable: $(python.allowUnstable)
- script: ./ci.sh docker-7.x
displayName: 'Docker 7.x'
- script: ./ci.sh docker-6.x
displayName: 'Docker 6.x'
- script: ./ci.sh docker-5.x
displayName: 'Docker 5.x'
# docker 5 uses distutils, removed in py312
condition: in(variables['python.version'], '3.11', '3.10', '3.9', '3.8')
- script: ./ci.sh docker-4.x
displayName: 'Docker 4.x'
# docker 4 uses distutils, removed in py312
condition: in(variables['python.version'], '3.11', '3.10', '3.9', '3.8')