mirror of
https://github.com/django/daphne.git
synced 2025-04-23 18:22:15 +03:00
* Move project tests to its own directory. * Install mock test dependency for Python2 only. * Do not install tox inside tox environment. * Exclude tests from sdist. * Use recent pip on Travis-CI.
28 lines
407 B
YAML
28 lines
407 B
YAML
sudo: false
|
|
|
|
language: python
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
|
|
env:
|
|
- DJANGO="Django>=1.8,<1.9"
|
|
- DJANGO="Django>=1.9,<1.10"
|
|
- DJANGO="Django>=1.10,<1.11"
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.cache/pip/wheels
|
|
|
|
install:
|
|
- pip install -U pip wheel setuptools
|
|
- pip install $DJANGO -e .[tests]
|
|
- pip freeze
|
|
|
|
script:
|
|
- python runtests.py
|
|
- flake8
|
|
- isort --check-only --recursive channels
|