From 017591359f6d5107fb27a794e476041b0898639c Mon Sep 17 00:00:00 2001 From: Aaron Hill Date: Sat, 17 Aug 2013 08:52:53 -0400 Subject: [PATCH] Added support for Coveralls.io --- .travis.yml | 1 + run_tests.sh | 2 +- test_requirements.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 763d36b..914767f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,3 +25,4 @@ env: JjlEyFWS487IFteR87U9pt18qongJJIphaBdT9/lDVLsMWZ0Jh5ZLQfX+2jS aF2UwsrYkzBUMrqMqYCc2+X6CuswLEZTVXDAlNh+emvhxZ5faMI= +after_success: 'coveralls' diff --git a/run_tests.sh b/run_tests.sh index d296c36..50c58c3 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -3,5 +3,5 @@ if [[ $TRAVIS_SECURE_ENV_VARS == "false" ]]; then USE_REPLAY=1 nosetests -v tests.test_api tests.test_utils else - nosetests -v tests.test_api tests.test_streaming tests.test_cursors tests.test_utils + nosetests -v --with-coverage --cover-package=tweepy tests.test_api tests.test_streaming tests.test_cursors tests.test_utils fi diff --git a/test_requirements.txt b/test_requirements.txt index a7e634e..626ca45 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1 +1,2 @@ httreplay==0.1.4 +coveralls==0.2 -- 2.25.1