File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ environment:
1919
2020 matrix :
2121 - CONDA_LOC : " C:\\ Miniconda-x64"
22+ PATCH_VS2008 : " 1"
2223 - CONDA_LOC : " C:\\ Miniconda35-x64"
24+ PATCH_VS2008 : " 0"
2325 - CONDA_LOC : " C:\\ Miniconda36-x64"
26+ PATCH_VS2008 : " 0"
2427
2528install :
2629 # This breaks conda-build because of git
@@ -29,9 +32,12 @@ install:
2932 - cmd : set PYTHONUNBUFFERED=1
3033 - cmd : conda install -n root --yes conda conda-env conda-build anaconda-client
3134 # We borrow a trick from conda-forge to fix the VS2008 compiler
32- - cmd : conda config --append channels conda-forge
33- - cmd : conda install --yes vs2008_express_vc_python_patch
34- - cmd : call setup_x64
35+ - ps : |
36+ if($env:PATCH_VS2008 -eq '1') {
37+ cmd /c "conda config --append channels conda-forge 2>&1"
38+ cmd /c "conda install --yes vs2008_express_vc_python_patch 2>&1"
39+ cmd /c "call setup_x64 2>&1"
40+ }
3541
3642build : off
3743
You can’t perform that action at this time.
0 commit comments