File tree Expand file tree Collapse file tree 3 files changed +70
-46
lines changed Expand file tree Collapse file tree 3 files changed +70
-46
lines changed Original file line number Diff line number Diff line change
1
+
2
+ parameters :
3
+ name : ' '
4
+ vmImage : ' '
5
+ matrix : []
6
+
7
+ jobs :
8
+ - job : ${{ parameters.name }}
9
+ pool :
10
+ vmImage : ${{ parameters.vmImage }}
11
+ variables :
12
+ EXTRA_WHEELS : " https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
13
+ strategy :
14
+ matrix :
15
+ ${{ insert }} : ${{ parameters.matrix }}
16
+
17
+ steps :
18
+ - task : UsePythonVersion@0
19
+ inputs :
20
+ versionSpec : ' $(PYTHON_VERSION)'
21
+ addToPath : true
22
+ architecture : ' $(PYTHON_ARCH)'
23
+ - script : |
24
+ python -m pip install --upgrade pip setuptools>=30.3.0 wheel
25
+ displayName: 'Update build tools'
26
+ - script : |
27
+ python -m pip install --find-links %EXTRA_WHEELS% numpy scipy matplotlib h5py pydicom
28
+ python -m pip install nose mock coverage codecov
29
+ displayName: 'Install dependencies'
30
+ - script : |
31
+ python -m pip install .
32
+ SET NIBABEL_DATA_DIR=%CD%\\nibabel-data
33
+ displayName: 'Install nibabel'
34
+ - script : |
35
+ mkdir for_testing
36
+ cd for_testing
37
+ cp ../.coveragerc .
38
+ nosetests --with-doctest --with-coverage --cover-package nibabel nibabel
39
+ displayName: 'Nose tests'
40
+ - script : |
41
+ cd for_testing
42
+ codecov
43
+ displayName: 'Upload To Codecov'
44
+ env:
45
+ CODECOV_TOKEN: $(CODECOV_TOKEN)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Adapted from https://github.com/pandas-dev/pandas/blob/master/azure-pipelines.yml
2
+ jobs :
3
+ - template : .azure-pipelines/windows.yml
4
+ parameters :
5
+ name : Windows
6
+ vmImage : vs2017-win2016
7
+ matrix :
8
+ py35-x86 :
9
+ PYTHON_VERSION : ' 3.5'
10
+ PYTHON_ARCH : ' x86'
11
+ py35-x64 :
12
+ PYTHON_VERSION : ' 3.5'
13
+ PYTHON_ARCH : ' x64'
14
+ py36-x86 :
15
+ PYTHON_VERSION : ' 3.6'
16
+ PYTHON_ARCH : ' x86'
17
+ py36-x64 :
18
+ PYTHON_VERSION : ' 3.6'
19
+ PYTHON_ARCH : ' x64'
20
+ py37-x86 :
21
+ PYTHON_VERSION : ' 3.7'
22
+ PYTHON_ARCH : ' x86'
23
+ py37-x64 :
24
+ PYTHON_VERSION : ' 3.7'
25
+ PYTHON_ARCH : ' x64'
You can’t perform that action at this time.
0 commit comments