From 213799958d0512ba9ea5b0d322bdbafb15df8356 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Mon, 4 Apr 2016 14:11:22 -0400 Subject: [PATCH] TST: Remove coverage from default nose config. Add --with-coverage flag to Travis, so that reports are generated during continuous integration, but not during every invocation when running tests locally. --- .travis.yml | 2 +- setup.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e2784dd2..72ee0094 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ install: before_script: - pip freeze | sort script: - - nosetests tests/ + - nosetests --with-coverage tests/ - flake8 zipline tests # deactive env to get access to anaconda command - source deactivate diff --git a/setup.cfg b/setup.cfg index 5ae21162..5e505a5f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,6 @@ detailed-errors=1 with-ignore-docstrings=1 with-timer=1 timer-top-n=15 -with-coverage=1 cover-package=zipline [metadata]