From 377d308ed3aafe65a5205bf65bbe8b8ca4e907d9 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 16 Oct 2019 10:36:42 -0500 Subject: [PATCH] Sepcify nose with coverage option through setup.cfg Rather than through Travis CI environment variable, as nose does not seem to register it with the use of setup.cfg --- .travis.yml | 1 - setup.cfg | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6caf473..a76f760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ env: global: - TWITTER_USERNAME="TweepyDev" - AWS_BUCKET="tweepy" - - NOSE_WITH_COVERAGE=1 - USE_REPLAY=1 - secure: TPQSFGqdl6khXqQqTZ6euROoAmFRnONAlPXD6npvTIIN+fNfnz8lvZtOEWHo2jRPLoU3FyVUhYvTynj6B2hJinulP+RKOMbQ65HCZVHrsitwl1n1QZB5HegQDOYc5q6VTTYn/r8r5tGy35U0O80y1zycTLqSJiXlkdqsSq564pI= diff --git a/setup.cfg b/setup.cfg index 0a4a8a9..5a1e4f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,5 +2,6 @@ universal = 1 [nosetests] -verbosity = 2 tests = tests.test_api,tests.test_cursors,tests.test_resultset,tests.test_utils +verbosity = 2 +with-coverage = 1 -- 2.25.1