<commit_before>[tox]
envlist = py26,py27,py33,py34,pep8,coverage-dev

[testenv]
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/requirements-tests.txt
setenv = VIRTUAL_ENV = {envdir}
commands = py.test {posargs}
sitepackages = False
downloadcache = {toxworkdir}/_download

[testenv:pep8]
deps = flake8==2.0
commands = flake8 {posargs}

[flake8]
builtins = _
exclude=.git,.tox,dist,doc,*lib/python*,*egg,.idea,docs
show-source = True

[testenv:coverage]
deps = pytest-cov
       coveralls
       {[testenv]deps}
usedevelop=True
commands = py.test --cov solrq {posargs}
           coveralls

[testenv:coverage-dev]
deps = pytest-cov
       {[testenv]deps}
usedevelop=True
commands = py.test --cov solrq --cov-report=term-missing {posargs}
<commit_msg>tox/travis: add passenv to fix coveralls<commit_after>[tox]
envlist = py26,py27,py33,py34,pep8,coverage-dev

[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/requirements-tests.txt
setenv = VIRTUAL_ENV = {envdir}
commands = py.test {posargs}
sitepackages = False
downloadcache = {toxworkdir}/_download

[testenv:pep8]
deps = flake8==2.0
commands = flake8 {posargs}

[flake8]
builtins = _
exclude=.git,.tox,dist,doc,*lib/python*,*egg,.idea,docs
show-source = True

[testenv:coverage]
deps = pytest-cov
       coveralls
       {[testenv]deps}
usedevelop=True
commands = py.test --cov solrq {posargs}
           coveralls

[testenv:coverage-dev]
deps = pytest-cov
       {[testenv]deps}
usedevelop=True
commands = py.test --cov solrq --cov-report=term-missing {posargs}

{'fraction_non_alphanumeric': 0.13630653266331658, 'fraction_numerical': 0.018844221105527637, 'mean_word_length': 4.455479452054795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1381991', 'n_tokens_mistral': 653, 'n_tokens_neox': 623, 'n_words': 111}