mirror of
https://github.com/django/daphne.git
synced 2025-04-21 01:02:06 +03:00
Update CI config a bit more.
This commit is contained in:
parent
74c444ca52
commit
1dab70ed86
|
@ -3,5 +3,5 @@ language: python
|
|||
python:
|
||||
- "2.7"
|
||||
- "3.5"
|
||||
install: pip install tox-travis Django asgiref
|
||||
install: pip install tox-travis
|
||||
script: tox
|
||||
|
|
|
@ -5,11 +5,11 @@ import logging
|
|||
from threading import Lock
|
||||
|
||||
from django import http
|
||||
from django.core.handlers import base
|
||||
from django.core import signals
|
||||
from django.core.handlers import base
|
||||
from django.core.urlresolvers import set_script_prefix
|
||||
from django.utils.functional import cached_property
|
||||
from django.utils import six
|
||||
from django.utils.functional import cached_property
|
||||
|
||||
logger = logging.getLogger('django.request')
|
||||
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -11,6 +11,7 @@ setenv =
|
|||
PYTHONPATH = {toxinidir}:{toxinidir}
|
||||
deps =
|
||||
autobahn
|
||||
asgiref>=0.9
|
||||
six
|
||||
redis==2.10.5
|
||||
py27: mock
|
||||
|
@ -19,7 +20,7 @@ deps =
|
|||
django-16: Django>=1.6,<1.7
|
||||
django-17: Django>=1.7,<1.8
|
||||
django-18: Django>=1.8,<1.9
|
||||
django-19: Django==1.9b1
|
||||
django-19: Django>=1.9,<1.10
|
||||
commands =
|
||||
flake8: flake8
|
||||
isort: isort -c -rc channels
|
||||
|
|
Loading…
Reference in New Issue
Block a user