mirror of
https://github.com/django/daphne.git
synced 2024-11-22 16:06:34 +03:00
Use tox for tests
This commit is contained in:
parent
8b751ca249
commit
2f27d04c86
16
.travis.yml
16
.travis.yml
|
@ -1,9 +1,15 @@
|
|||
sudo: false
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.5"
|
||||
- "3.5"
|
||||
env:
|
||||
global:
|
||||
- PIP_RETRIES=10
|
||||
- PIP_TIMEOUT=30
|
||||
matrix:
|
||||
- TOXENV=py27
|
||||
- TOXENV=py35
|
||||
install:
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install unittest2; fi
|
||||
- pip install asgiref twisted autobahn
|
||||
script: if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python -m unittest2; else python -m unittest; fi
|
||||
- travis_retry pip install tox
|
||||
script:
|
||||
- tox
|
||||
|
|
Loading…
Reference in New Issue
Block a user