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 language: python
python: python:
- "2.7"
- "3.4"
- "3.5" - "3.5"
- "3.6" - "3.6"

View File

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

View File

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