From c738eab0b83a0f3f1677cfe83f19d0b8e03bd321 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 26 Aug 2015 18:39:54 -0400 Subject: [PATCH] TEST: Run nosetests with timings. We already did this on travis. Make it part of the normal test workflow instead of a special case for travis. --- .travis.yml | 2 +- etc/requirements_dev.txt | 1 + setup.cfg | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b8136b59..86ab42cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ install: - conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION - source activate testenv - conda install --yes -c https://conda.binstar.org/Quantopian numpy=$NUMPY_VERSION pandas=$PANDAS_VERSION scipy==$SCIPY_VERSION matplotlib Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib logbook - - pip install --upgrade pip nose-timer coverage + - pip install --upgrade pip coverage - pip install -e .[dev] before_script: - "flake8 zipline tests" diff --git a/etc/requirements_dev.txt b/etc/requirements_dev.txt index e30b6d52..a796b340 100644 --- a/etc/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -2,6 +2,7 @@ nose==1.3.7 nose-parameterized==0.5.0 nose-ignore-docstring==0.2 +nose-timer==0.5.0 xlrd==0.9.4 # These are required by mock or its dependencies diff --git a/setup.cfg b/setup.cfg index a84dd821..7f2ac98f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,7 @@ verbosity=2 detailed-errors=1 with-ignore-docstrings=1 +with-timer=1 [metadata] description-file = README.md