summaryrefslogtreecommitdiff
path: root/tox.ini
blob: cdd4295e12675e354f435c34bdb7ae18505665c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[tox]
envlist = pypy,py26,py27,py32,py33,py34

[testenv]
deps =
    setuptools>=7.0
    coverage
setenv =
    # Do not allowed the executing environment to pollute the test environment
    # with extra packages.
    PYTHONPATH=
# The standard library unittest module can run tests on Python 2.7 and newer
commands =
    python -c "import OpenSSL.SSL; print(OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION))"
    coverage run --branch --source=OpenSSL setup.py test
    coverage report -m