diff --git a/.travis.yml b/.travis.yml index fda56dcb..72f82c86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,13 +43,16 @@ before_install: echo "Could not find python version"; exit 1; fi; + - export MINICONDA_FILE=$MINICONDA-latest-$OS-x86_64-$PYTHON_VERSION.sh + - export MINCONDA_CACHE_FILE=$HOME/download/$MINICONDA_FILE + - export MINICONDA_INSTALL=$HOME/install/$MINICONDA_FILE - if [ ! -f download/$MINICONDA-latest-$OS-x86_64.sh ]; then export CONDA_CACHED=0; - wget http://repo.continuum.io/miniconda/$MINICONDA-latest-$OS-x86_64.sh -O $HOME/download/$MINICONDA-latest-$OS-x86_64.sh; - chmod +x $HOME/download/$MINICONDA-latest-$OS-x86_64.sh; - bash $HOME/download/$MINICONDA-latest-$OS-x86_64.sh -b -p $HOME/install/$MINICONDA-latest-$OS-x86_64/; + wget http://repo.continuum.io/miniconda/$MINICONDA-latest-$OS-x86_64.sh -O $MINCONDA_CACHE_FILE; + chmod +x $MINCONDA_CACHE_FILE; + bash $MINCONDA_CACHE_FILE -b -p $MINICONDA_INSTALL; fi; - - export PATH="$HOME/install/$MINICONDA-latest-$OS-x86_64/bin:$PATH" + - export PATH="$MINICONDA_INSTALL/bin:$PATH" install: - conda install --yes python=$PYTHON_VERSION numpy=1.9 scipy=0.16 nose pip six;