Fix coverage reports to only include tweepy code.
authorJoshua Roesslein <jroesslein@gmail.com>
Sat, 17 Aug 2013 19:46:43 +0000 (12:46 -0700)
committerJoshua Roesslein <jroesslein@gmail.com>
Sat, 17 Aug 2013 19:46:43 +0000 (12:46 -0700)
.coveragerc [new file with mode: 0644]
.gitignore
run_tests.sh

diff --git a/.coveragerc b/.coveragerc
new file mode 100644 (file)
index 0000000..aad5cc3
--- /dev/null
@@ -0,0 +1,2 @@
+[run]
+source = tweepy
index bd2870d2f497ad1e4ac8d48c020fcc9332884f97..e0649d7a64e33e18d3d4576bc3006a212b4861ed 100644 (file)
@@ -4,3 +4,5 @@ build/
 dist/
 tweepy.egg-info/
 .env/
+.coverage
+htmlcov/
index 50c58c3cf2e3cc3430135cdd117b6418b8cf4be6..a724fda1522e4a00c67b69e106001c84c2945974 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 --with-coverage --cover-package=tweepy tests.test_api tests.test_streaming tests.test_cursors tests.test_utils
+  nosetests -v --with-coverage tests.test_api tests.test_streaming tests.test_cursors tests.test_utils
 fi