mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-02 15:21:01 +08:00
BLD: Remove conditional by specifying prefix for miniconda
Don't need quotes around flake8 command
This commit is contained in:
+3
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user