# Temporarily change directory to $HOME to install software pushd . cd $HOME # Install Miniconda if [ "$TRAVIS_OS_NAME" == "osx" ]; then # Make OSX md5 mimic md5sum from linux, alias does not work md5sum () { command md5 -r "$@" } MINICONDA=Miniconda3-latest-MacOSX-x86_64.sh else MINICONDA=Miniconda3-latest-Linux-x86_64.sh export PYTHON_VER=$TRAVIS_PYTHON_VERSION fi MINICONDA_HOME=$HOME/miniconda MINICONDA_MD5=$(wget -qO- https://repo.anaconda.com/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *