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