From 526e9f17197a6dda882d6c47c9974cea2518af1b Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Wed, 11 Nov 2015 22:18:31 -0500 Subject: [PATCH] TST: Limit the timer report to just the 15 longest tests The default of all the tests is pretty spammy. --- .travis.yml | 2 +- setup.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4d70f7d6..260ae83b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,6 @@ before_script: - pip freeze | sort - "flake8 zipline tests" script: - - nosetests --with-timer --exclude=^test_examples --with-coverage --cover-package=zipline + - nosetests --with-timer --exclude=^test_examples --with-coverage --cover-package=zipline --timer-top-n=15 after_success: - coveralls diff --git a/setup.cfg b/setup.cfg index 86507976..a1ce13a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,7 @@ verbosity=2 detailed-errors=1 with-ignore-docstrings=1 with-timer=1 +timer-top-n=15 [metadata] description-file = README.rst