Skip to content

Commit b9e7614

Browse files
naoyaklesteve
authored andcommitted
[MRG] Always download latest Miniconda on Travis (scikit-learn#8857)
1 parent e5cc3c3 commit b9e7614

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

build_tools/travis/install.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,9 @@ if [[ "$DISTRIB" == "conda" ]]; then
3737
echo "Cached in $HOME/download :"
3838
ls -l
3939
echo
40-
if [[ ! -f miniconda.sh ]]
41-
then
42-
wget http://repo.continuum.io/miniconda/Miniconda-3.6.0-Linux-x86_64.sh \
43-
-O miniconda.sh
44-
fi
45-
chmod +x miniconda.sh && ./miniconda.sh -b
40+
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh \
41+
-O miniconda.sh
42+
chmod +x miniconda.sh && ./miniconda.sh -b -p /home/travis/miniconda
4643
cd ..
4744
export PATH=/home/travis/miniconda/bin:$PATH
4845
conda update --yes conda

0 commit comments

Comments
 (0)