Skip to content

Commit eefa69d

Browse files
committed
Install older miniconda for OSX 3.6 on production deploy branch
1 parent 2c7acfd commit eefa69d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis_before_install.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,23 @@ if [ $TRAVIS_OS_NAME == 'linux' ]; then
44
sudo add-apt-repository ppa:nschloe/swig-backports -y
55
sudo apt-get -qq update
66
sudo apt-get install -y swig3.0
7+
78
elif [ $TRAVIS_OS_NAME == 'osx' ]; then
89
echo "Installing deps for OSX"
910
if [ $PYTHON_VERSION == "2.7" ]; then
1011
CONDA_VER='2'
12+
CONDA_URL="https://repo.continuum.io/miniconda/Miniconda${CONDA_VER}-latest-MacOSX-x86_64.sh"
13+
elif [ $PYTHON_VERSION == "3.7" ]; then
14+
CONDA_VER='3'
15+
CONDA_URL="https://repo.continuum.io/miniconda/Miniconda${CONDA_VER}-latest-MacOSX-x86_64.sh"
16+
# NOTE: Miniconda stopped supporting 3.6, but pysam is late...
1117
elif [ $PYTHON_VERSION == "3.6" ]; then
1218
CONDA_VER='3'
19+
CONDA_URL='https://repo.continuum.io/miniconda/Miniconda3-4.5.4-MacOSX-x86_64.sh'
1320
else
1421
echo "Conda only supports 2.7 and 3.6"
1522
fi
16-
curl "https://repo.continuum.io/miniconda/Miniconda${CONDA_VER}-latest-MacOSX-x86_64.sh" -o "miniconda.sh"
23+
curl "${CONDA_URL}" -o "miniconda.sh"
1724
bash "miniconda.sh" -b -p $HOME/miniconda
1825
echo "$PATH"
1926
export PATH="$HOME/miniconda/bin:$PATH"

0 commit comments

Comments
 (0)