mirror of
https://github.com/django/daphne.git
synced 2025-07-12 17:02:18 +03:00
Run tox tests from travis. (#104)
This commit is contained in:
parent
46656aad24
commit
382318b6d2
|
@ -6,11 +6,8 @@ python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "3.5"
|
- "3.5"
|
||||||
|
- "3.6"
|
||||||
|
|
||||||
env:
|
install: pip install tox tox-travis
|
||||||
- TWISTED_RELEASE="twisted"
|
|
||||||
- TWISTED_RELEASE="twisted==17.1.0"
|
|
||||||
|
|
||||||
install: pip install $TWISTED_RELEASE -e .[tests]
|
script: tox
|
||||||
|
|
||||||
script: python -m unittest discover
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -45,6 +45,7 @@ setup(
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.4',
|
'Programming Language :: Python :: 3.4',
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
|
'Programming Language :: Python :: 3.6',
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
'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.
|
# We test against the oldest supported Twisted release, and the current release.
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py{27,34,35}-twisted-{old,new}
|
envlist = py{27,34,35,36}-twisted-{old,new}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
extras = tests
|
|
||||||
deps =
|
deps =
|
||||||
twisted-old: twisted==17.1.0
|
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