Source

CodernityDB / tox_cov.ini

[tox]
envlist=py26,py27,pypy,pypy-dev

[testenv:pypy]
basepython=/usr/local/bin/pypy

[testenv:pypy-dev]
basepython=/usr/local/bin/pypy-dev

[testenv]
deps=
        pytest
        pytest-cov
        pytest-xdist
commands=
    py.test --junitxml=junit-norm-{envname}.xml --cov-config .coveragerc_norm --cov-report=html --cov-report=xml --cov CodernityDB tests/test_db.py
    py.test --junitxml=junit-thread-safe-{envname}.xml --cov-config .coveragerc_thread_safe --cov-report=html --cov-report=xml --cov CodernityDB  tests/test_db_thread_safe.py
    py.test --junitxml=junit-super-thread-safe-{envname}.xml --cov-config .coveragerc_super_thread_safe --cov-report=html --cov-report=xml --cov CodernityDB  tests/test_db_super_thread_safe.py
    py.test --junitxml=junit-indexcreator-{envname}.xml --cov-config .coveragerc_indexcreator --cov-report=html --cov-report=xml --cov CodernityDB  tests/test_indexcreator.py