<commit_before>[tox]
minversion = 2.3
envlist = py27,py35
src = {toxinidir}/src
target = {toxinidir}/target
toxworkdir = {[tox]target}/tox
min_coverage = 95

[testenv]
deps = -rtest-requirements.txt
changedir = {[tox]target}
whitelist_externals =
                    /bin/rm
                    /usr/bin/rm
                    /bin/cp
                    /usr/bin/cp
commands =
         flake8 {[tox]src}/quadtree.py
         rm -rf {[tox]target}/tests
         cp -a {toxinidir}/tests {[tox]target}
         py.test --cov=quadtree --cov-config={toxinidir}/.coveragerc --cov-fail-under={[tox]min_coverage} {[tox]target}/tests

[tox:travis]
2.7 = py27
3.5 = py35, codecov

[testenv:codecov]
basepython = python3
changedir = {toxinidir}
passenv =
        CI
        TRAVIS_BUILD_ID
        TRAVIS TRAVIS_BRANCH
        TRAVIS_JOB_NUMBER
        TRAVIS_PULL_REQUEST
        TRAVIS_JOB_ID
        TRAVIS_REPO_SLUG
        TRAVIS_COMMIT
deps =
     coverage==4.0.3
     requests==2.9.1
     codecov==1.6.3
commands = codecov -X gcov -e TOXENV

[testenv:py35]
commands =
         {[testenv]commands}
         python -m doctest {toxinidir}/README.rst

[testenv:py2-dev]
basepython = python2
usedevelop = true
commands =

[testenv:py3-dev]
basepython = python3
usedevelop = true
commands =

[flake8]
<commit_msg>modify tox.ini so that codecov will work on travis<commit_after>[tox]
minversion = 2.3
envlist = py27,py35
src = {toxinidir}/src
target = {toxinidir}/target
toxworkdir = {[tox]target}/tox
min_coverage = 95

[testenv]
deps = -rtest-requirements.txt
changedir = {[tox]target}
whitelist_externals =
                    /bin/rm
                    /usr/bin/rm
                    /bin/cp
                    /usr/bin/cp
commands =
         flake8 {[tox]src}/quadtree.py
         rm -rf {[tox]target}/tests
         cp -a {toxinidir}/tests {[tox]target}
         py.test --cov=quadtree --cov-config={toxinidir}/.coveragerc --cov-fail-under={[tox]min_coverage} {[tox]target}/tests

[tox:travis]
2.7 = py27
3.5 = py35, codecov

[testenv:codecov]
basepython = python3
changedir = {toxinidir}
passenv =
        CI
        TRAVIS_BUILD_ID
        TRAVIS TRAVIS_BRANCH
        TRAVIS_JOB_NUMBER
        TRAVIS_PULL_REQUEST
        TRAVIS_JOB_ID
        TRAVIS_REPO_SLUG
        TRAVIS_COMMIT
deps =
     coverage==4.0.3
     requests==2.9.1
     codecov==1.6.3
commands =
         rm -rf {[tox]target}/tests
         cp -a {toxinidir}/tests {[tox]target}
         coverage run {[tox]target}/tests/test_quadtree.py
         codecov -X gcov -e TOXENV

[testenv:py35]
commands =
         {[testenv]commands}
         python -m doctest {toxinidir}/README.rst

[testenv:py2-dev]
basepython = python2
usedevelop = true
commands =

[testenv:py3-dev]
basepython = python3
usedevelop = true
commands =

[flake8]

{'fraction_non_alphanumeric': 0.11802575107296137, 'fraction_numerical': 0.024320457796852647, 'mean_word_length': 2.3658243080625754, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1279989', 'n_tokens_mistral': 1125, 'n_tokens_neox': 1052, 'n_words': 196}