daphne/.travis.yml
Artem Malyshev 672de2b2a3 Separate tests into own directory. (#531)
* 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.
2017-02-16 10:22:23 -08:00

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