<commit_before>[testenv]
commands = nosetests {posargs:tests}

#*************************************************************************
# Test various runtimes.
#*************************************************************************

[base]
deps =
    clevercss==0.1
    closure==20110811
    cssutils==0.9.8a2
    jsmin==2.0.2
    glob2==0.3.0
    jinja2==2.5
    mock==0.8.0
    nose==1.0.0
    pyyaml==3.10
    yuicompressor==2.4.6.1

[base_pre27]
deps =
    argparse==1.2.1
    {[base]deps}


[testenv:py33]
basepython = python2.7
deps =
    {[base]deps}

[testenv:py27]
basepython = python2.7
deps =
    {[base]deps}


[testenv:py26]
basepython = python2.6
deps =
    {[base_pre27]deps}


[testenv:pypy]
basepython = pypy
deps =
    {[base_pre27]deps}


#*************************************************************************
# Test with various dependencies. Those suffice to be tested with the
# latest Python version.
#*************************************************************************

[testenv:no-glob2]
basepython = python2.7
deps =
    nose==1.0.0
    mock==0.8.0
    jinja2==2.5
    pyyaml==3.10

[testenv:external-jsmin]
basepython = python2.7
deps =
    nose==1.0.0
    mock==0.8.0
    jsmin==2.0.2

[testenv:external-rjsmin]
basepython = python2.7
deps =
    nose==1.0.0<commit_msg>Make tox use requirements file.<commit_after>[testenv]
commands = nosetests {posargs:tests}

#*************************************************************************
# Test various runtimes.
#*************************************************************************

[base]
deps2 =
    -r{toxinidir}/requirements-dev.pip
    -r{toxinidir}/requirements-dev-2.x.pip

deps26 =
    argparse==1.2.1
    {[base]deps2}

deps3 =
    -r{toxinidir}/requirements-dev.pip


[testenv:py33]
basepython = python2.7
deps =
    {[base]deps3}


[testenv:py27]
basepython = python2.7
deps =
    {[base]deps2}


[testenv:py26]
basepython = python2.6
deps =
    {[base]deps26}


[testenv:pypy]
basepython = pypy
deps =
    {[base]deps26}


#*************************************************************************
# Test with various dependencies. Those suffice to be tested with the
# latest Python version.
#*************************************************************************

[testenv:no-glob2]
basepython = python2.7
deps =
    nose==1.0.0
    mock==0.8.0
    jinja2==2.5
    pyyaml==3.10

[testenv:external-jsmin]
basepython = python2.7
deps =
    nose==1.0.0
    mock==0.8.0
    jsmin==2.0.2

[testenv:external-rjsmin]
basepython = python2.7
deps =
    nose==1.0.0
{'fraction_non_alphanumeric': 0.34461299105406457, 'fraction_numerical': 0.057176196032672114, 'mean_word_length': 4.33609958506224, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4339731', 'n_tokens_mistral': 982, 'n_tokens_neox': 896, 'n_words': 150}