Skip to content

Commit c0dd153

Browse files
committed
Try using Miniconda already on Appveyor rather than downloading
1 parent ad805b1 commit c0dd153

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

appveyor.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,20 @@ matrix:
33
fast_finish: true
44

55
environment:
6-
CONDA_INSTALL_LOCN: "C:\\conda"
76
matrix:
87
- CONDA_PY: 35
8+
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
99
- CONDA_PY: 27
10+
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
1011

1112
platform:
1213
- x64
1314

1415
build: off
1516

1617
install:
17-
- appveyor DownloadFile "https://raw.githubusercontent.com/conda-forge/conda-smithy/master/bootstrap-obvious-ci-and-miniconda.py"
18-
- cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %platform% %CONDA_PY:~0,1% --without-obvci
19-
20-
# Add a hack to switch to `conda` version `4.1.12` before activating.
21-
# This is required to handle a long path activation issue.
22-
# Verbatim from https://github.com/conda-forge/conda-smithy/pull/329
23-
- cmd: set "OLDPATH=%PATH%"
24-
- cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
25-
- cmd: conda install --yes --quiet conda=4.1.12
26-
- cmd: set "PATH=%OLDPATH%"
27-
- cmd: set "OLDPATH="
28-
2918
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
19+
- cmd: conda update --yes --quiet conda
3020
- cmd: conda config --set show_channel_urls true
3121
- cmd: conda config --add channels conda-forge
3222
- cmd: conda install -y pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nodejs nose

0 commit comments

Comments
 (0)