blob: c87f16648907416e3c04b3f5ac709d24e0447000 (
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
29
|
[tox]
envlist = {pypy,py26,py27,py33,py34}{,-cryptographyMaster},pypi-readme,check-manifest
[testenv]
deps =
setuptools>=7.0 # older setuptools pollute CWD with egg files of dependencies
coverage
cryptographyMaster: git+https://github.com/pyca/cryptography.git
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))"
python -c "import cryptography; print(cryptography.__version__)"
coverage run --branch --source=OpenSSL setup.py test
coverage report -m
[testenv:pypi-readme]
deps =
readme
commands =
python setup.py check -r -s
[testenv:check-manifest]
deps =
check-manifest
commands =
check-manifest
|