summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 8eb69107e1bbba74642eaf7b8ba675295791b1f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[tox]
envlist = pypy,py26,py27,py32,py33,py34,meta

[testenv]
deps =
    setuptools>=7.0  # older setuptools pollute CWD with egg files of dependencies
    coverage
setenv =
    # Do not allowed the executing environment to pollute the test environment
    # with extra packages.
    PYTHONPATH=
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

[testenv:meta]
deps =
     pyflakes
     check-manifest
     pip-tools
     pyroma>=1.6 # <1.6 had bogus return values.
commands =
     pyflakes OpenSSL
     check-manifest
     pip-review
     pyroma -d .