From 83cc14db4cfc23004fb2064e0cac7a594aaef739 Mon Sep 17 00:00:00 2001 From: Joe Jevnik Date: Fri, 29 Jan 2016 17:42:13 -0500 Subject: [PATCH] BLD: run flake8 after tests --- .travis.yml | 4 ++-- setup.cfg | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a478357b..26f84b92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,9 +27,9 @@ install: - pip install -e . before_script: - pip freeze | sort - - flake8 zipline tests script: - - nosetests --with-timer --exclude=^test_examples --with-coverage --cover-package=zipline --timer-top-n=15 + - nosetests tests/ + - flake8 zipline tests after_success: - coveralls diff --git a/setup.cfg b/setup.cfg index 68171ee4..2f4dbf00 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,11 @@ verbosity=2 detailed-errors=1 with-ignore-docstrings=1 with-timer=1 +timer-top-n=15 timer-filter=warning +with-coverage=1 +cover-package=zipline + [metadata] description-file = README.rst