Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57ecd65

Browse files
committed
Merge pull request #6462 from QuLogic/appveyor-miniconda
CI: Use Miniconda already installed on AppVeyor.
2 parents ca9c068 + 238c976 commit 57ecd65

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ environment:
1212
# /E:ON and /V:ON options are not enabled in the batch script intepreter
1313
# See: http://stackoverflow.com/a/13751649/163740
1414
CMD_IN_ENV: "cmd /E:ON /V:ON /C obvci_appveyor_python_build_env.cmd"
15-
CONDA_INSTALL_LOCN: "C:\\conda"
1615
# Workaround for https://github.com/conda/conda-build/issues/636
1716
PYTHONIOENCODING: "UTF-8"
1817

@@ -22,18 +21,22 @@ environment:
2221
CONDA_PY: "27"
2322
CONDA_NPY: "18"
2423
PYTHON_VERSION: "2.7"
24+
CONDA_INSTALL_LOCN: "C:\\Miniconda"
2525
- TARGET_ARCH: "x64"
2626
CONDA_PY: "27"
2727
CONDA_NPY: "18"
2828
PYTHON_VERSION: "2.7"
29+
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
2930
- TARGET_ARCH: "x64"
3031
CONDA_PY: "34"
3132
CONDA_NPY: "110"
3233
PYTHON_VERSION: "3.4"
34+
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
3335
- TARGET_ARCH: "x64"
3436
CONDA_PY: "35"
3537
CONDA_NPY: "110"
3638
PYTHON_VERSION: "3.5"
39+
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
3740

3841

3942
# We always use a 64-bit machine, but can build x86 distributions
@@ -48,8 +51,6 @@ init:
4851
- cmd: "ECHO %PYTHON_VERSION% %CONDA_INSTALL_LOCN%"
4952

5053
install:
51-
- appveyor DownloadFile "https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py"
52-
- cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %TARGET_ARCH% %CONDA_PY:~0,1% --without-obvci
5354
- cmd: set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH%;
5455
- cmd: set PYTHONUNBUFFERED=1
5556
- cmd: conda install -c http://conda.anaconda.org/pelson/channel/development --yes --quiet obvious-ci

0 commit comments

Comments
 (0)