[build] travis: remove existing conda dir
authorAndy Feng <afeng@yahoo-inc.com>
Wed, 9 Mar 2016 18:39:31 +0000 (18:39 +0000)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 9 Mar 2016 19:49:08 +0000 (11:49 -0800)
there seems to be a caching issue at the moment;
this is a temporary fix for #3786

scripts/travis/travis_install.sh

index ca8c410..091e924 100755 (executable)
@@ -60,6 +60,8 @@ rm -f $LMDB_FILE
 # Install the Python runtime dependencies via miniconda (this is much faster
 # than using pip for everything).
 export PATH=$CONDA_DIR/bin:$PATH
+# clear any cached conda (see #3786)
+rm -rf $CONDA_DIR
 if [ ! -d $CONDA_DIR ]; then
   if [ "$PYTHON_VERSION" -eq "3" ]; then
     wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh