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