File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,25 @@ jobs:
28
28
python -m pip install --upgrade pip setuptools>=30.3.0 wheel
29
29
displayName: 'Install virtualenv'
30
30
- script : |
31
- # Optional dependencies
31
+ venv\\scripts\\activate
32
32
python -m pip install numpy scipy matplotlib h5py pydicom
33
- # Test dependencies
34
33
python -m pip install nose mock coverage codecov
35
34
displayName: 'Install dependencies'
36
35
- script : |
36
+ venv\\scripts\\activate
37
37
python -m pip install .
38
38
SET NIBABEL_DATA_DIR=%CD%\\nibabel-data
39
39
displayName: 'Install nibabel'
40
40
- script : |
41
- # Change into an innocuous directory and find tests from installation
41
+ venv\\scripts\\activate
42
42
mkdir for_testing
43
43
cd for_testing
44
44
cp ../.coveragerc .
45
45
nosetests --with-doctest --with-coverage --cover-package nibabel nibabel
46
46
displayName: 'Install nibabel'
47
47
- script : |
48
+ venv\\scripts\\activate
49
+ cd for_testing
48
50
codecov
49
51
displayName: 'Upload To Codecov'
50
52
env:
You can’t perform that action at this time.
0 commit comments