/
azure-pipelines.yml
159 lines (151 loc) · 5 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# from matplotlib's azure setup
variables:
HDF5_CACHE_DIR: $(Pipeline.Workspace)/cache/hdf5
PIP_CACHE_DIR: $(Pipeline.Workspace)/cache/pip
CCACHE_DIR: $(Pipeline.Workspace)/cache/ccache
jobs:
- job: 'ubuntu1604'
pool:
vmImage: ubuntu-16.04
strategy:
matrix:
# system independent tests
static-checks:
TOXENV: docs,check-manifest,checkreadme,pre-commit
python.version: '3.6'
# -deps : test with default (latest) versions of dependencies
# -mindeps : test with oldest supported version of (python) dependencies
# -deps-pre : test pre-release versions of (python) dependencies)
# -tables : also check compatibility with pytables
py36:
python.version: '3.6'
TOXENV: py36-test-deps,py36-test-mindeps,py36-test-deps-pre,py36-test-mindeps-tables
H5PY_ENFORCE_COVERAGE: yes
py37:
python.version: '3.7'
TOXENV: py37-test-deps,py37-test-mindeps,py37-test-deps-pre,py37-test-deps-tables
H5PY_ENFORCE_COVERAGE: yes
# test against newer HDF5
py36-deps-hdf51103:
python.version: '3.6'
TOXENV: py36-test-deps
HDF5_VERSION: 1.10.3
HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
H5PY_ENFORCE_COVERAGE: yes
py37-deps-hdf51104:
python.version: '3.7'
TOXENV: py37-test-deps
HDF5_VERSION: 1.10.4
HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
H5PY_ENFORCE_COVERAGE: yes
py37-deps-hdf51105:
python.version: '3.7'
TOXENV: py37-test-deps
HDF5_VERSION: 1.10.5
HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
H5PY_ENFORCE_COVERAGE: yes
# do mpi tests
# py36-deps-hdf51105-mpi:
# python.version: '3.6'
# TOXENV: py36-test-mindeps-mpi4py
# HDF5_VERSION: 1.10.5
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# HDF5_MPI: ON
# CC: mpicc
# py37-deps-hdf51105-mpi:
# python.version: '3.7'
# TOXENV: py37-test-mindeps-mpi4py
# HDF5_VERSION: 1.10.5
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# HDF5_MPI: ON
# CC: mpicc
maxParallel: 4
steps:
- template: ci/azure-pipelines-steps.yml
parameters:
vmImage: 'ubuntu-16.04'
installer: apt
shell: unix
- job: 'Windows'
pool:
vmImage: vs2017-win2016
strategy:
matrix:
# -deps : test with default (latest) versions of dependencies
# -mindeps : test with oldest supported version of (python) dependencies
# -deps-pre : test pre-release versions of (python) dependencies)
py36:
python.version: '3.6'
TOXENV: py36-test-deps,py36-test-mindeps,py36-test-deps-pre
HDF5_VERSION: 1.10.1
HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
HDF5_VSVERSION: "15-64"
H5PY_ENFORCE_COVERAGE: yes
py37:
python.version: '3.7'
TOXENV: py37-test-deps,py37-test-mindeps,py37-test-deps-pre
HDF5_VERSION: 1.10.1
HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
HDF5_VSVERSION: "15-64"
H5PY_ENFORCE_COVERAGE: yes
maxParallel: 4
steps:
- template: ci/azure-pipelines-steps.yml
parameters:
vmImage: 'vs2017-win2016'
installer: nuget
shell: cmd
- job: 'macOS1013'
pool:
vmImage: xcode9-macos10.13
strategy:
matrix:
# -deps : test with default (latest) versions of dependencies
# -mindeps : test with oldest supported version of (python) dependencies
# -deps-pre : test pre-release versions of (python) dependencies)
py36:
python.version: '3.6'
TOXENV: py36-test-deps,py36-test-mindeps,py36-test-deps-pre
H5PY_ENFORCE_COVERAGE: yes
py37:
python.version: '3.7'
TOXENV: py37-test-deps,py37-test-mindeps,py37-test-deps-pre
H5PY_ENFORCE_COVERAGE: yes
# test against newer HDF5
# py36-deps-hdf51103:
# python.version: '3.6'
# TOXENV: py36-test-deps
# HDF5_VERSION: 1.10.3
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# py37-deps-hdf51103:
# python.version: '3.7'
# TOXENV: py37-test-deps
# HDF5_VERSION: 1.10.3
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# py36-deps-hdf51104:
# python.version: '3.6'
# TOXENV: py36-test-deps
# HDF5_VERSION: 1.10.4
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# py37-deps-hdf51104:
# python.version: '3.7'
# TOXENV: py37-test-deps
# HDF5_VERSION: 1.10.4
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# py36-deps-hdf51105:
# python.version: '3.6'
# TOXENV: py36-test-deps
# HDF5_VERSION: 1.10.5
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
# py37-deps-hdf51105:
# python.version: '3.7'
# TOXENV: py37-test-deps
# HDF5_VERSION: 1.10.5
# HDF5_DIR: $(HDF5_CACHE_DIR)/$(HDF5_VERSION)
maxParallel: 4
steps:
- template: ci/azure-pipelines-steps.yml
parameters:
vmImage: 'xcode9-macos10.13'
installer: brew
shell: unix