<commit_before>[tox]
envlist =
    # Django Dev
    pypy-djdev,
    py3.4-djdev,
    py3.3-djdev,
    py3.2-djdev,
    py2.7-djdev,

    # Django 1.6
    pypy-dj1.6,
    py3.3-dj1.6,
    py3.2-dj1.6,
    py2.7-dj1.6,
    py2.6-dj1.6,

    # Django 1.5
    pypy-dj1.5,
    py3.3-dj1.5,
    py3.2-dj1.5,
    py2.7-dj1.5,
    py2.6-dj1.5,

    # Django 1.4
    pypy-dj1.4,
    py2.7-dj1.4,
    py2.6-dj1.4,


[testenv]
commands = {envpython} actstream/runtests/manage.py {posargs:test actstream testapp --noinput}

deps =
    django-jsonfield==0.9.12

deps-py2 =
    {[testenv]deps}
    MySQL-python==1.2.5
    psycopg2==2.5.2

deps-py3 =
    {[testenv]deps}
    PyMySQL==0.6.2
    psycopg2==2.5.2

deps-pypy =
    {[testenv]deps}
    MySQL-python==1.2.5
    psycopg2cffi==2.5

deps-dev =
    https://www.djangoproject.com/download/1.7c1/tarball/


[testenv:mysql]
deps = tox
env = DATABASE_ENGINE=mysql
commands =  tox -e pypy-djdev

# Django Dev
[testenv:pypy-djdev]
basepython = pypy
deps =
    {[testenv]deps-dev}
    {[testenv]deps-pypy}


[testenv:py3.4-djdev]
basepython = python3.4
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py3}


[testenv:py3.3-djdev]
basepython = python3.3
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py3}


[testenv:py3.2-djdev]
basepython = python3.2
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py3}


[testenv:py2.7-djdev]
basepython = python2.7
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py2}


# Django 1.6
[testenv:pypy-dj1.6]
basepython = pypy
deps =
    Django>=1.6,<1.7
    {[testenv]deps-pypy}


[testenv:py3.3-dj1.6]
basepython = python3.3
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py3}


[testenv:py3.2-dj1.6]
basepython = python3.2
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py3}


[testenv:py2.7-dj1.6]
basepython = python2.7
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py2}


[testenv:py2.6-dj1.6]
basepython = python2.6
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py2}


# Django 1.5
[testenv:pypy-dj1.5]
basepython = pypy
deps =
    Django>=1.5,<1.6
    {[testenv]deps-pypy}


[testenv:py3.3-dj1.5]
basepython = python3.3
deps =
    Django>=1.5,<1.6
    {[testenv]deps-py3}


[testenv:py3.2-dj1.5]
basepython = python3.2
deps =
    Django>=1.5,<1.6
    {[testenv]deps-py3}

<commit_msg>pypy3, coverage<commit_after>[tox]
envlist =
    # Django Dev
    pypy3-djdev,
    pypy-djdev,
    py3.4-djdev,
    py3.3-djdev,
    py3.2-djdev,
    py2.7-djdev,

    # Django 1.6
    pypy3-dj1.6,
    pypy-dj1.6,
    py3.3-dj1.6,
    py3.2-dj1.6,
    py2.7-dj1.6,
    py2.6-dj1.6,

    # Django 1.5
    pypy3-dj1.5,
    pypy-dj1.5,
    py3.3-dj1.5,
    py3.2-dj1.5,
    py2.7-dj1.5,
    py2.6-dj1.5,

    # Django 1.4
    pypy-dj1.4,
    py2.7-dj1.4,
    py2.6-dj1.4,


[testenv]
commands =
    {envpython} actstream/runtests/manage.py test actstream testapp --noinput --engine=sqlite3
    {envpython} actstream/runtests/manage.py test actstream testapp --noinput --engine=mysql
    {envpython} actstream/runtests/manage.py test actstream testapp --noinput --engine=postgres

setenv =
    PYTHONWARNINGS = ignore

deps =
    django-jsonfield==0.9.13

deps-py2 =
    {[testenv]deps}
    MySQL-python==1.2.5
    psycopg2==2.5.3

deps-py3 =
    {[testenv]deps}
    PyMySQL==0.6.2
    psycopg2==2.5.3

deps-pypy =
    {[testenv]deps}
    MySQL-python==1.2.5
    psycopg2cffi==2.5.2

deps-pypy3 =
    {[testenv]deps}
    PyMySQL==0.6.2

deps-dev =
    https://www.djangoproject.com/download/1.7c1/tarball/


[testenv:coverage]
commands =
    {envpython} actstream/runtests/manage.py test actstream testapp --noinput --engine=sqlite3
setenv =
    COVERAGE = true
    PYTHONWARNINGS = ignore
basepython = python2.7
deps =
    django-coverage==1.2.4
    coverage==3.7.1
    django-jsonfield==0.9.12
    {[testenv]deps-dev}

# Django Dev
[testenv:pypy3-djdev]
basepython = pypy3
deps =
    {[testenv]deps-dev}
    {[testenv]deps-pypy3}


[testenv:pypy-djdev]
basepython = pypy
deps =
    {[testenv]deps-dev}
    {[testenv]deps-pypy}


[testenv:py3.4-djdev]
basepython = python3.4
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py3}


[testenv:py3.3-djdev]
basepython = python3.3
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py3}


[testenv:py3.2-djdev]
basepython = python3.2
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py3}


[testenv:py2.7-djdev]
basepython = python2.7
deps =
    {[testenv]deps-dev}
    {[testenv]deps-py2}


# Django 1.6
[testenv:pypy3-dj1.6]
basepython = pypy3
deps =
    Django>=1.6,<1.7
    {[testenv]deps-pypy3}


[testenv:pypy-dj1.6]
basepython = pypy
deps =
    Django>=1.6,<1.7
    {[testenv]deps-pypy}


[testenv:py3.3-dj1.6]
basepython = python3.3
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py3}


[testenv:py3.2-dj1.6]
basepython = python3.2
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py3}


[testenv:py2.7-dj1.6]
basepython = python2.7
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py2}


[testenv:py2.6-dj1.6]
basepython = python2.6
deps =
    Django>=1.6,<1.7
    {[testenv]deps-py2}


# Django 1.5
[testenv:pypy3-dj1.5]
basepython = pypy3
deps =
    Django>=1.5,<1.6
    {[testenv]deps-pypy3}


[testenv:pypy-dj1.5]
basepython = pypy
deps =
    Django>=1.5,<1.6
    {[testenv]deps-pypy}


[testenv:py3.3-dj1.5]
basepython = python3.3
deps =
    Django>=1.5,<1.6
    {[testenv]deps-py3}


[testenv:py3.2-dj1.5]
basepython = python3.2
deps =
    Django>=1.5,<1.6
    {[testenv]deps-py3}


{'fraction_non_alphanumeric': 0.17391304347826086, 'fraction_numerical': 0.07955596669750231, 'mean_word_length': 2.692622950819672, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2152071', 'n_tokens_mistral': 2925, 'n_tokens_neox': 2729, 'n_words': 345}