Skip to content

Commit 6d071e7

Browse files
committed
Added gevent tests and dependancy for python2.
1 parent 521c90b commit 6d071e7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ install:
1616
- sudo apt-get install libevent-dev
1717
- pip install $DJANGO --use-mirrors
1818
- make bootstrap
19+
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install gevent --use-mirrors; fi"
1920
script:
2021
- make lint
2122
- py.test tests/ --cov raven --cov-report term-missing

conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
if sys.version_info[1] == 3:
1010
collect_ignore.append("tests/handlers/logbook")
1111

12+
try:
13+
import gevent
14+
except ImportError:
15+
collect_ignore.append("tests/transport/gevent")
16+
1217

1318
INSTALLED_APPS = [
1419
'django.contrib.auth',

0 commit comments

Comments
 (0)