diff --git a/.travis.yml b/.travis.yml index e8d91045c225..2e13195a1997 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,10 @@ addons: - libboost-system-dev - libjemalloc-dev +cache: + directories: + - $HOME/miniconda # Add the installation to TRAVIS cache. + matrix: fast_finish: true allow_failures: diff --git a/ci/travis_install_conda.sh b/ci/travis_install_conda.sh index 9c13b1bc0f07..d33d90d55ef9 100644 --- a/ci/travis_install_conda.sh +++ b/ci/travis_install_conda.sh @@ -24,7 +24,7 @@ wget -O miniconda.sh $MINICONDA_URL export MINICONDA=$HOME/miniconda -bash miniconda.sh -b -p $MINICONDA +bash miniconda.sh -f -b -p $MINICONDA export PATH="$MINICONDA/bin:$PATH" conda update -y -q conda conda info -a