Use rvm head branch
rvm stable branch seems to be introducing an error in travis osx
builds. using the head branch has been suggested to resolve this
issue (see: https://github.com/direnv/direnv/issues/210)
@@ -15,16 +15,18 @@ matrix:
- PYTHON_VERSION=3.5
- MINICONDA_URL="https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh"
-
before_install:
+# https://github.com/travis-ci/travis-ci/issues/6522
+- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then rvm get head || true; fi
- export MINICONDA=$HOME/miniconda
- export PATH="$MINICONDA/bin:$PATH"
- hash -r
- echo $MINICONDA_URL
- wget $MINICONDA_URL -O miniconda.sh;
-- bash miniconda.sh -b -f -p $MINICONDA;
+- bash miniconda.sh -b -s -f -p $MINICONDA;
- conda config --set always_yes yes
- conda update conda
+- conda update -y ca-certificates -c defaults
- conda info -a
- conda config --add channels conda-forge
- conda install python=$PYTHON_VERSION $CONDA_DEPS
