Skip to content

Commit 963c9b6

Browse files
committed
FIX: Missed again
1 parent b7f25db commit 963c9b6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ trigger:
77

88
jobs:
99
- job: Windows
10+
variables:
11+
PIP_CACHE_FOLDER: $(Pipeline.Workspace)/.cache/pip
1012
pool:
1113
vmIMage: 'VS2017-Win2016'
1214
strategy:
@@ -21,14 +23,19 @@ jobs:
2123
versionSpec: $(PYTHON_VERSION)
2224
architecture: $(PYTHON_ARCH)
2325
addToPath: true
26+
- task: Cache@2
27+
inputs:
28+
key: 'python -VV'
29+
path: $(PIP_CACHE_FOLDER)
30+
displayName: Cache pip packages
2431
- powershell: |
25-
pip install numpy scipy matplotlib nose pillow pytest pytest-cov pytest-faulthandler coverage imageio imageio-ffmpeg codecov pyqt5==5.9
26-
pip install traits traitsui pyface vtk mayavi nibabel
32+
pip install numpy scipy matplotlib nose pillow pytest pytest-cov pytest-faulthandler coverage imageio imageio-ffmpeg codecov pyqt5==5.9 --cache-dir $(PIP_CACHE_FOLDER)
33+
pip install traits traitsui pyface vtk mayavi nibabel --cache-dir $(PIP_CACHE_FOLDER)
2734
displayName: 'Install pip dependencies'
2835
- powershell: |
2936
powershell make/get_fsaverage.ps1
3037
$env:SUBJECTS_DIR = '$(System.DefaultWorkingDirectory)' + '\subjects'
31-
Write-Host ("##vso[task.setvariable variable=PATH]" + $env:PATH)
38+
Write-Host ("##vso[task.setvariable variable=SUBJECTS_DIR]" + $env:SUBJECTS_DIR)
3239
displayName: 'Get fsaverage'
3340
- powershell: |
3441
git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git

0 commit comments

Comments
 (0)