<commit_before>[tox]
envlist = {py27,py33,py34,pypy,pypy3}-django{17,18}, {py27,py34,py35,pypy}-django19, coverage, docs, flake8

[testenv]
deps =
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<2.0
commands =
    pip install -e .[test]
    ./runtests.py
passenv = CHANNELS_* TRAVIS TRAVIS_BRANCH TRAVIS_JOB_ID

[testenv:coverage]
basepython = python2.7
deps =
    coveralls
    coverage
    Django>=1.7,<2.0
commands =
    pip install -e .[test]
    coverage run --source channels/ ./runtests.py
    coverage report
    coveralls

[testenv:docs]
basepython = python2.7
changedir = docs
commands =
    pip install -e ..[docs]
    make html

[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 channels/<commit_msg>Add Django 1.10 support<commit_after>[tox]
envlist = {py27,py33,py34,pypy,pypy3}-django{17,18}, {py27,py34,py35,pypy}-django{19,110}, coverage, docs, flake8
; https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django

[testenv]
deps =
    django17: Django>=1.7,<1.8
    django18: Django>=1.8,<1.9
    django19: Django>=1.9,<1.10
    django110: Django>=1.10,<1.11
commands =
    pip install -e .[test]
    ./runtests.py
passenv = CHANNELS_* TRAVIS TRAVIS_BRANCH TRAVIS_JOB_ID

[testenv:coverage]
basepython = python2.7
deps =
    coveralls
    coverage
    Django>=1.10,<1.11
commands =
    pip install -e .[test]
    coverage run --source channels/ ./runtests.py
    coverage report
    coveralls

[testenv:docs]
basepython = python2.7
changedir = docs
commands =
    pip install -e ..[docs]
    make html

[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8 channels/
{'fraction_non_alphanumeric': 0.13898704358068315, 'fraction_numerical': 0.0706713780918728, 'mean_word_length': 3.629427792915531, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3324052', 'n_tokens_mistral': 736, 'n_tokens_neox': 684, 'n_words': 137}