diff --git a/.travis.yml b/.travis.yml index 319eb7de..9e859c54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ install: script: - "if [[ ${TRAVIS_PYTHON_VERSION} != 'pypy' ]]; then make lint; fi" - - py.test tests/ --cov raven --cov-report term-missing --timeout 10 + - coverage run --source=raven -m py.test tests --timeout 10 after_success: - codecov -e DJANGO diff --git a/setup.py b/setup.py index de8aedff..6b6bf246 100755 --- a/setup.py +++ b/setup.py @@ -55,6 +55,7 @@ if sys.version_info[0] == 3: tests_require = [ 'bottle', 'celery>=2.5', + 'coverage', 'Django>=1.4', 'django-celery>=2.5', 'exam>=0.5.2', @@ -64,7 +65,6 @@ tests_require = [ 'pep8', 'pytz', 'pytest>=2.7.0,<2.8.0', - 'pytest-cov>=1.4', 'pytest-django>=2.7.0,<2.8.0', 'pytest-timeout==0.4', 'requests',