mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 17:47:56 +08:00
BLD: Keep Travis lint and test packages in sync with requirements file.
Instead of hard-coding the package versions in the Travis config, grep the version number out of the requirements_dev.txt file, so that the versions do not drift.
This commit is contained in:
+7
-1
@@ -12,7 +12,13 @@ install:
|
||||
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
|
||||
- source activate testenv
|
||||
- conda install --yes -c https://conda.binstar.org/twiecki numpy==1.8.0 scipy nose matplotlib pandas Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib logbook
|
||||
- pip install pyflakes==0.7.3 pep8==1.4.6 mccabe==0.2.1 flake8==2.1.0 nose-parameterized==0.3.3 nose-ignore-docstring==0.2
|
||||
- grep pyflakes== etc/requirements_dev.txt | xargs pip install
|
||||
- grep pep8== etc/requirements_dev.txt | xargs pip install
|
||||
- grep mccabe== etc/requirements_dev.txt | xargs pip install
|
||||
- grep flake8== etc/requirements_dev.txt | xargs pip install
|
||||
- grep nose== etc/requirements_dev.txt | xargs pip install
|
||||
- grep nose-parameterized== etc/requirements_dev.txt | xargs pip install
|
||||
- grep nose-ignore-docstring== etc/requirements_dev.txt | xargs pip install
|
||||
before_script:
|
||||
- "flake8 zipline tests"
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user