Skip to content

Commit aabd9fb

Browse files
committed
AZURE: Virtualenvs do not seem to work as expected
1 parent c33e559 commit aabd9fb

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.azure-pipelines/windows.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ jobs:
88
- job: ${{ parameters.name }}
99
pool:
1010
vmImage: ${{ parameters.vmImage }}
11-
variables:
12-
VIRTUALENV: 'testvenv'
1311
strategy:
1412
matrix:
1513
${{ insert }}: ${{ parameters.matrix }}
@@ -21,31 +19,23 @@ jobs:
2119
addToPath: true
2220
architecture: '$(PYTHON_ARCH)'
2321
- script: |
24-
python -m pip install --upgrade pip virtualenv
25-
virtualenv --python=python venv
26-
venv\\scripts\\activate
27-
python --version
2822
python -m pip install --upgrade pip setuptools>=30.3.0 wheel
29-
displayName: 'Install virtualenv'
23+
displayName: 'Update build tools'
3024
- script: |
31-
venv\\scripts\\activate
3225
python -m pip install numpy scipy matplotlib h5py pydicom
3326
python -m pip install nose mock coverage codecov
3427
displayName: 'Install dependencies'
3528
- script: |
36-
venv\\scripts\\activate
3729
python -m pip install .
3830
SET NIBABEL_DATA_DIR=%CD%\\nibabel-data
3931
displayName: 'Install nibabel'
4032
- script: |
41-
venv\\scripts\\activate
4233
mkdir for_testing
4334
cd for_testing
4435
cp ../.coveragerc .
4536
nosetests --with-doctest --with-coverage --cover-package nibabel nibabel
4637
displayName: 'Install nibabel'
4738
- script: |
48-
venv\\scripts\\activate
4939
cd for_testing
5040
codecov
5141
displayName: 'Upload To Codecov'

0 commit comments

Comments
 (0)