mirror of
https://github.com/saymrwulf/zipline.git
synced 2026-05-14 20:58:10 +00:00
BLD: Install newer miniconda
The version of conda that comes with the older miniconda can't upgrade itself to newest conda anymore.
This commit is contained in:
parent
fbc76ca0f3
commit
b7dd52b7ec
2 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ cache:
|
|||
- $HOME/.cache/.pip/
|
||||
|
||||
before_install:
|
||||
- if [ ${CONDA_ROOT_PYTHON_VERSION:0:1} == "2" ]; then wget https://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh; fi
|
||||
- if [ ${CONDA_ROOT_PYTHON_VERSION:0:1} == "2" ]; then wget https://repo.continuum.io/miniconda/Miniconda2-4.3.30-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-4.3.30-Linux-x86_64.sh -O miniconda.sh; fi
|
||||
- chmod +x miniconda.sh
|
||||
- ./miniconda.sh -b -p $HOME/miniconda
|
||||
- export PATH="$HOME/miniconda/bin:$PATH"
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ $MINICONDA_URL = "https://repo.continuum.io/miniconda/"
|
|||
|
||||
function DownloadMiniconda ($python_version, $platform_suffix) {
|
||||
$webclient = New-Object System.Net.WebClient
|
||||
if ($python_version -match "3.4") {
|
||||
$filename = "Miniconda3-3.7.0-Windows-" + $platform_suffix + ".exe"
|
||||
if ($python_version -match "3.[4-6]") {
|
||||
$filename = "Miniconda3-4.3.30-Windows-" + $platform_suffix + ".exe"
|
||||
} else {
|
||||
$filename = "Miniconda-3.7.0-Windows-" + $platform_suffix + ".exe"
|
||||
$filename = "Miniconda2-4.3.30-Windows-" + $platform_suffix + ".exe"
|
||||
}
|
||||
$url = $MINICONDA_URL + $filename
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue