From d86f2b0e00bf3f4e67fbb56d8fb4344795e254f1 Mon Sep 17 00:00:00 2001 From: Mike Helmick Date: Sat, 8 Jun 2013 17:06:14 -0400 Subject: [PATCH] Attempting coveralls again. --- .travis.yml | 1 + setup.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 32f631f..78d8c22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,4 +31,5 @@ install: pip install -r requirements.txt notifications: email: false after_success: + - coverage run --source=twython setup.py -q nosetests - coveralls diff --git a/setup.py b/setup.py index 6fbaf3d..8c6d700 100755 --- a/setup.py +++ b/setup.py @@ -31,6 +31,9 @@ setup( open('HISTORY.rst').read(), include_package_data=True, packages=packages, + test_suite='nose.collector', + tests_require=['nose'], + extras_require={'test': ['nose']}, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers',