From 93acee40910b2fc9550c5538b508713c07b2ef27 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Fri, 30 May 2014 14:11:44 -0400 Subject: [PATCH] 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. --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c5ee37dd..32c7b42c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: