Added support for Coveralls.io
authorAaron Hill <aa1ronham@gmail.com>
Sat, 17 Aug 2013 12:52:53 +0000 (08:52 -0400)
committerAaron Hill <aa1ronham@gmail.com>
Sat, 17 Aug 2013 12:52:53 +0000 (08:52 -0400)
.travis.yml
run_tests.sh
test_requirements.txt

index 763d36bd6890c94f975810bf7c1536fbaabc7746..914767fdfcf9f555f1ae67e3c0d37d2951a020b2 100644 (file)
@@ -25,3 +25,4 @@ env:
         JjlEyFWS487IFteR87U9pt18qongJJIphaBdT9/lDVLsMWZ0Jh5ZLQfX+2jS
         aF2UwsrYkzBUMrqMqYCc2+X6CuswLEZTVXDAlNh+emvhxZ5faMI=
 
+after_success: 'coveralls'
index d296c36b29e69a826bf0431bb0b1f5268cf57da6..50c58c3cf2e3cc3430135cdd117b6418b8cf4be6 100755 (executable)
@@ -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
index a7e634e45a8fa16f5ef72a8e58c745c9c2b0714a..626ca45e3e6059b56c3870ba1fbd1b1db918f0da 100644 (file)
@@ -1 +1,2 @@
 httreplay==0.1.4
+coveralls==0.2