mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 21:53:47 +08:00
miniconda -> miniforge for AppVeyor
Should fix recent issue with failing to download miniconda. Using miniforge is recommended by conda-forge.
This commit is contained in:
committed by
Peter Cock
parent
0b41684f14
commit
dcc414824d
@ -5,7 +5,7 @@ os: Visual Studio 2015
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
# String fragments for URLs at https://repo.anaconda.com/miniconda/
|
||||
# String fragments for URLs at https://github.com/conda-forge/miniforge/releases/
|
||||
- PY_MAJOR_VER: "3"
|
||||
PYTHON_ARCH: "x86_64"
|
||||
|
||||
@ -30,7 +30,7 @@ build_script:
|
||||
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
|
||||
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
|
||||
throw "There are newer queued builds for this pull request, failing early." }
|
||||
- ps: Start-FileDownload "https://repo.continuum.io/miniconda/Miniconda$env:PY_MAJOR_VER-latest-Windows-$env:PYTHON_ARCH.exe" C:\Miniconda.exe; echo "Finished downloading miniconda"
|
||||
- ps: Start-FileDownload "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge$env:PY_MAJOR_VER-Windows-$env:PYTHON_ARCH.exe" C:\Miniconda.exe; echo "Finished downloading miniconda"
|
||||
- ps: start -Wait -FilePath C:\Miniconda.exe -ArgumentList "/S /D=C:\Py"
|
||||
- SET PATH=C:\Py;C:\Py\Scripts;C:\Py\Library\bin;%PATH%
|
||||
- conda config --set always_yes yes
|
||||
|
Reference in New Issue
Block a user