Add pytest-timeout to try and get travis to error faster on hanging

builds
This commit is contained in:
Matt Robenolt 2015-08-02 17:40:11 -07:00
parent 2118456482
commit 94fe2b3d9c
3 changed files with 3 additions and 1 deletions

View File

@ -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:

View File

@ -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',

View File

@ -1,2 +1,3 @@
pytest-django
pytest-timeout
-e .[dev,tests]