Add pytest-timeout to try and get travis to error faster on hanging
builds
This commit is contained in:
parent
2118456482
commit
94fe2b3d9c
|
@ -33,7 +33,7 @@ install:
|
|||
|
||||
script:
|
||||
- "if [[ ${TRAVIS_PYTHON_VERSION} != 'pypy' ]]; then make lint; fi"
|
||||
- py.test tests/ --cov raven --cov-report term-missing
|
||||
- py.test tests/ --cov raven --cov-report term-missing --timeout 10
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
|
1
setup.py
1
setup.py
|
@ -66,6 +66,7 @@ tests_require = [
|
|||
'pytest>=2.7.0,<2.8.0',
|
||||
'pytest-cov>=1.4',
|
||||
'pytest-django>=2.8.0,<2.7.0',
|
||||
'pytest-timeout==0.4',
|
||||
'requests',
|
||||
'tornado',
|
||||
'webob',
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
pytest-django
|
||||
pytest-timeout
|
||||
-e .[dev,tests]
|
||||
|
|
Loading…
Reference in New Issue