Skip to content

Commit

Permalink
BLD: Remove conditional by specifying prefix for miniconda
Browse files Browse the repository at this point in the history
Don't need quotes around flake8 command
  • Loading branch information
richafrank committed Jan 21, 2016
1 parent 8968d28 commit 5b9eb04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 5b9eb04

Please sign in to comment.