From d1885fe4521249b5f71461843d4401245bb9948e Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Sun, 13 Sep 2015 20:01:13 +0100 Subject: [PATCH] Update .travis.yml --- .travis.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17723fb6..fda56dcb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,27 +23,28 @@ env: - PYTHON_VERSION=2.7 - PYTHON_VERSION=3.3 - PYTHON_VERSION=3.4 + - PYTHON_VERSION=3.5 before_install: - export CONDA_CACHED=1 + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then + export OS=Linux; + elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + export OS=MacOSX; + else + echo "OS not supported yet"; + exit 1; + fi; + - if [[ $PYTHON_VERSION == "2.7" ]]; then + export MINICONDA=Miniconda; + elif [[ $PYTHON_VERSION == 3* ]]; then + export MINICONDA=Miniconda3; + else + echo "Could not find python version"; + exit 1; + fi; - if [ ! -f download/$MINICONDA-latest-$OS-x86_64.sh ]; then export CONDA_CACHED=0; - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - export OS=Linux; - elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - export OS=MacOSX; - else - echo "OS not supported yet"; - exit 1; - fi; - if [[ $PYTHON_VERSION == "2.7" ]]; then - export MINICONDA=Miniconda; - elif [[ $PYTHON_VERSION == 3* ]]; then - export MINICONDA=Miniconda3; - else - echo "Could not find python version"; - exit 1; - fi; 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/;