Skip to content

Commit c33e559

Browse files
committed
AZURE: Environment reset at each step
1 parent c436091 commit c33e559

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.azure-pipelines/windows.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,25 @@ jobs:
2828
python -m pip install --upgrade pip setuptools>=30.3.0 wheel
2929
displayName: 'Install virtualenv'
3030
- script: |
31-
# Optional dependencies
31+
venv\\scripts\\activate
3232
python -m pip install numpy scipy matplotlib h5py pydicom
33-
# Test dependencies
3433
python -m pip install nose mock coverage codecov
3534
displayName: 'Install dependencies'
3635
- script: |
36+
venv\\scripts\\activate
3737
python -m pip install .
3838
SET NIBABEL_DATA_DIR=%CD%\\nibabel-data
3939
displayName: 'Install nibabel'
4040
- script: |
41-
# Change into an innocuous directory and find tests from installation
41+
venv\\scripts\\activate
4242
mkdir for_testing
4343
cd for_testing
4444
cp ../.coveragerc .
4545
nosetests --with-doctest --with-coverage --cover-package nibabel nibabel
4646
displayName: 'Install nibabel'
4747
- script: |
48+
venv\\scripts\\activate
49+
cd for_testing
4850
codecov
4951
displayName: 'Upload To Codecov'
5052
env:

0 commit comments

Comments
 (0)