File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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+
78elif [ $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 "
You can’t perform that action at this time.
0 commit comments