From 8c41a3e9daadfd550ca83ed5224b8bbf7adb6507 Mon Sep 17 00:00:00 2001 From: Mike Helmick Date: Tue, 11 Jun 2013 12:52:22 -0400 Subject: [PATCH] Ugh, still trying to figure this coveralls thing out. --- .travis.yml | 2 +- setup.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1cad920..7fde6a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ env: - TEST_TWEET_ID=332992304010899457 - TEST_LIST_ID=574 install: pip install -r requirements.txt -script: nosetests -v test_twython:TwythonAPITestCase test_twython:TwythonAuthTestCase test_twython:TwythonStreamTestCase --logging-filter="twython" --cover-erase --cover-package="twython" --with-coverage +script: coverage run --source=twython setup.py -q nosetests -v --logging-filter="twython" --cover-package="twython" --with-coverage notifications: email: false branches: 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',