<commit_before>[tox]
envlist = 
    py24,py25,py26,py27,py32,pypy,jython,cover

[testenv]
commands = 
    python setup.py clean --all
    python setup.py build
    nosetests -q --where=./ --with-xunit 
deps =
    nose
    rdflib
[testenv:py24]
basepython =
    python2.4
commands = 
    python setup.py clean --all
    python setup.py build
    nosetests --where=./ --with-xunit

[testenv:py25]
basepython =
    python2.5
commands = 
    python setup.py clean --all
    python setup.py build
    nosetests -q --where=./ --with-xunit

[testenv:py32]
basepython =
    python3.2
commands = 
    python setup.py clean --all
    python setup.py build
    python setup.py nosetests -q --where=./build/src

[testenv:jython]
commands = 
    jython setup.py clean --all
    jython setup.py build
    nosetests -q --with-xunit

[testenv:pypy]
basepython =
    pypy
commands = 
    pypy setup.py clean --all
    pypy setup.py build
    pypy setup.py nosetests --where=./ --with-xunit

[testenv:cover]
basepython =
    python2.7
commands = 
    nosetests -q --where=./ \
                 --with-coverage --cover-html --cover-html-dir=./coverage \
                 --cover-package=rdfalchemy --cover-inclusive
deps =
    coverage
    nose
    rdflib

# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
# coverage <3.4 is required by nosexcover 1.0.4.<commit_msg>Add tox testing<commit_after>[tox]
envlist = 
    py24,py25,py26,py27,py32,pypy,jython#,py27dt,cover

[testenv]
commands = 
    python setup.py clean --all
    python setup.py build
    nosetests -q --where=./ --with-xunit
deps =
    nose
    rdflib

[testenv:py24]
basepython =
    python2.4
deps =
    nose
    rdflib
    simplejson
    elementtree

[testenv:py25]
basepython =
    python2.5
deps =
    nose
    rdflib
    simplejson
    elementtree

[testenv:py32]
basepython =
    python3.2
commands = 
    python setup.py clean --all
    python setup.py build
    python setup.py nosetests -q --where=./build/src

[testenv:py27dt]
basepython =
    python2.7
commands = 
    python setup.py clean --all
    python setup.py build
    nosetests -q --where=./ --with-xunit \
              --with-doctest \
              --doctest-extension=.doctest \
              --doctest-tests
[testenv:jython]
commands = 
    jython setup.py clean --all
    jython setup.py build
    nosetests -q --with-xunit
deps =
    nose
    rdflib
    simplejson

[testenv:pypy]
basepython =
    pypy
commands = 
    pypy setup.py clean --all
    pypy setup.py build
    pypy setup.py nosetests --where=./ --with-xunit

[testenv:cover]
basepython =
    python2.7
commands = 
    nosetests -q --attr=!non_core --where=./ \
                 --with-coverage --cover-html --cover-html-dir=./coverage \
                 --cover-package=rdfalchemy --cover-inclusive \
                 --with-doctest --doctest-extension=.doctest \
                 --doctest-tests
deps =
    coverage
    nose
    rdflib

# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
# coverage <3.4 is required by nosexcover 1.0.4.
{'fraction_non_alphanumeric': 0.10677005666567253, 'fraction_numerical': 0.019087384431852074, 'mean_word_length': 2.25, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2777888', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1167, 'n_words': 314}