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

[testenv]
deps =
    setuptools>=7.0
    coverage
    pytest
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 -m pytest OpenSSL
    coverage report -m