mirror of
https://github.com/django/daphne.git
synced 2024-11-24 17:03:42 +03:00
Start fixing travis config
This commit is contained in:
parent
b72349d2c1
commit
b3115e8dcf
|
@ -3,8 +3,6 @@ sudo: false
|
|||
language: python
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
|
||||
|
|
12
setup.py
12
setup.py
|
@ -30,11 +30,13 @@ setup(
|
|||
setup_requires=[
|
||||
"pytest-runner",
|
||||
],
|
||||
tests_require=[
|
||||
"hypothesis",
|
||||
"tox",
|
||||
"pytest",
|
||||
],
|
||||
extras_require={
|
||||
"tests": [
|
||||
"hypothesis",
|
||||
"tox",
|
||||
"pytest",
|
||||
],
|
||||
},
|
||||
entry_points={"console_scripts": [
|
||||
"daphne = daphne.cli:CommandLineInterface.entrypoint",
|
||||
]},
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,10 +1,10 @@
|
|||
# We test against the oldest supported Twisted release, and the current release.
|
||||
[tox]
|
||||
envlist = py{27,34,35,36}-twisted-{old,new}
|
||||
envlist = py{35,36}-twisted-{old,new}
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
twisted-old: twisted==17.1.0
|
||||
commands =
|
||||
pip install -e .[tests]
|
||||
python -m unittest discover
|
||||
pytest
|
||||
|
|
Loading…
Reference in New Issue
Block a user