Switch to coverage command
This commit is contained in:
parent
a0abd9af1b
commit
0687e6a9e6
|
@ -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
|
||||
|
|
2
setup.py
2
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',
|
||||
|
|
Loading…
Reference in New Issue