[tox]
envlist = py25,py26,py27,py32,pypy

[testenv]
#commands=coverage erase
#         coverage run run_tests.py
#         coverage report -m
#         #coverage html -d htmlcov
commands=coverage run run_tests.py

[testenv:py25]
deps=pyasn1 >=0.0.13
     PyCrypto >=2.3
     coverage >=3.5
     unittest2

[testenv:py26]
deps=pyasn1 >=0.0.13
     PyCrypto >=2.3
     coverage >=3.5
     unittest2

[testenv:py27]
deps=pyasn1 >=0.0.13
     PyCrypto >=2.3
     coverage >=3.5
     unittest2

[testenv:py32]
deps=coverage >= 3.5
     unittest2py3k

[testenv:pypy]
deps=pyasn1 >=0.0.13
     coverage >= 3.5
     unittest2


[tox]
envlist = py25,py26,py27,py32,pypy

[pytest]
addopts = -n4 --cov mom --cov-report term-missing --doctest-modules

[testenv]
#commands=coverage erase
#         coverage run run_tests.py
#         coverage report -m
#         #coverage html -d htmlcov
#commands=coverage run py.test
commands=py.test []

[testenv:py25]
deps=pyasn1 >=0.0.13
     PyCrypto >=2.3
     coverage >=3.5
     unittest2
     PyTest
     pytest-xdist
     pytest-cov

[testenv:py26]
deps=pyasn1 >=0.0.13
     PyCrypto >=2.3
     coverage >=3.5
     unittest2
     PyTest
     pytest-xdist
     pytest-cov

[testenv:py27]
deps=pyasn1 >=0.0.13
     PyCrypto >=2.3
     coverage >=3.5
     unittest2
     PyTest
     pytest-xdist
     pytest-cov

[testenv:py32]
deps=coverage >= 3.5
     unittest2py3k
     PyTest
     pytest-xdist
     pytest-cov

[testenv:pypy]
deps=pyasn1 >=0.0.13
     coverage >= 3.5
     unittest2
     PyTest
     pytest-xdist
     pytest-cov

Use py.test to run tests in parallel.
Use py.test to run tests in parallel.

Signed-off-by: Gora Khargosh <a2078c57e3ac12c6dfb97b7c2c4e6d6d7db7e92f@gmail.com>
