mirror of
https://github.com/django/daphne.git
synced 2024-11-21 23:46:33 +03:00
Run tox tests from travis. (#104)
This commit is contained in:
parent
46656aad24
commit
382318b6d2
|
@ -6,11 +6,8 @@ python:
|
|||
- "2.7"
|
||||
- "3.4"
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
|
||||
env:
|
||||
- TWISTED_RELEASE="twisted"
|
||||
- TWISTED_RELEASE="twisted==17.1.0"
|
||||
install: pip install tox tox-travis
|
||||
|
||||
install: pip install $TWISTED_RELEASE -e .[tests]
|
||||
|
||||
script: python -m unittest discover
|
||||
script: tox
|
||||
|
|
1
setup.py
1
setup.py
|
@ -45,6 +45,7 @@ setup(
|
|||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Topic :: Internet :: WWW/HTTP',
|
||||
],
|
||||
)
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -1,9 +1,10 @@
|
|||
# We test against the oldest supported Twisted release, and the current release.
|
||||
[tox]
|
||||
envlist = py{27,34,35}-twisted-{old,new}
|
||||
envlist = py{27,34,35,36}-twisted-{old,new}
|
||||
|
||||
[testenv]
|
||||
extras = tests
|
||||
deps =
|
||||
twisted-old: twisted==17.1.0
|
||||
commands = python -m unittest discover
|
||||
commands =
|
||||
pip install -e .[tests]
|
||||
python -m unittest discover
|
||||
|
|
Loading…
Reference in New Issue
Block a user