File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
- job : Windows
10
+ variables :
11
+ PIP_CACHE_FOLDER : $(Pipeline.Workspace)/.cache/pip
10
12
pool :
11
13
vmIMage : ' VS2017-Win2016'
12
14
strategy :
@@ -21,14 +23,19 @@ jobs:
21
23
versionSpec : $(PYTHON_VERSION)
22
24
architecture : $(PYTHON_ARCH)
23
25
addToPath : true
26
+ - task : Cache@2
27
+ inputs :
28
+ key : ' python -VV'
29
+ path : $(PIP_CACHE_FOLDER)
30
+ displayName : Cache pip packages
24
31
- 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)
27
34
displayName: 'Install pip dependencies'
28
35
- powershell : |
29
36
powershell make/get_fsaverage.ps1
30
37
$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 )
32
39
displayName: 'Get fsaverage'
33
40
- powershell : |
34
41
git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git
You can’t perform that action at this time.
0 commit comments