Start fixing travis config

This commit is contained in:
Andrew Godwin 2017-11-25 18:35:12 -08:00
parent b72349d2c1
commit b3115e8dcf
3 changed files with 9 additions and 9 deletions

View File

@ -3,8 +3,6 @@ sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"

View File

@ -30,11 +30,13 @@ setup(
setup_requires=[
"pytest-runner",
],
tests_require=[
extras_require={
"tests": [
"hypothesis",
"tox",
"pytest",
],
},
entry_points={"console_scripts": [
"daphne = daphne.cli:CommandLineInterface.entrypoint",
]},

View File

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