diff --git a/.travis.yml b/.travis.yml index 275d42c59..09841252e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ matrix: before_install: - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget https://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh; else wget https://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh; fi - chmod +x miniconda.sh - - ./miniconda.sh -b - - if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi + - ./miniconda.sh -b -p $HOME/miniconda + - export PATH="$HOME/miniconda/bin:$PATH" install: - conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION - source activate testenv @@ -27,7 +27,7 @@ install: - pip install -e . before_script: - pip freeze | sort - - "flake8 zipline tests" + - flake8 zipline tests script: - nosetests --with-timer --exclude=^test_examples --with-coverage --cover-package=zipline --timer-top-n=15 after_success: