From 0687e6a9e694e2d2ccce95c647d9b7604e05a1f4 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Tue, 6 Oct 2015 17:33:22 -0700 Subject: [PATCH] Switch to coverage command --- .travis.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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',