Files
PGPy-3_13_patch/tox.ini

68 lines
1.5 KiB
INI

[tox]
envlist = pypy, pypy3, py27, py33, py34, py35, pep8, setup35, setup34, setup33, setup27
skipsdist = True
[pytest]
addopts = -vv -r a -s --color=yes
norecursedirs = testdata
[flake8]
exclude = .git,.idea,__pycache__,.tox,tests/*,docs/*,test_load_asc_bench.py
ignore = E201,E202,E221,E251,E265,F403,F821,N805
max-line-length = 160
[testenv]
passenv = HOME ARCHFLAGS LDFLAGS CFLAGS INCLUDE LIB LD_LIBRARY_PATH PATH
deps =
cryptography>=1.1
enum34
pyasn1
six>=1.9.0
singledispatch
pytest
pytest-cov
pytest-ordering
install_command = pip install {opts} --no-cache-dir {packages}
commands =
py.test --cov pgpy --cov-report term-missing tests/
[test-setup]
whitelist_externals = /usr/bin/rm
commands =
pip install -e .
rm -rf PGPy.egg-info
[testenv:setup35]
recreate = True
basepython = python3.5
whitelist_externals = {[test-setup]whitelist_externals}
commands = {[test-setup]commands}
[testenv:setup34]
recreate = True
basepython = python3.4
whitelist_externals = {[test-setup]whitelist_externals}
commands = {[test-setup]commands}
[testenv:setup33]
recreate = True
basepython = python3.3
whitelist_externals = {[test-setup]whitelist_externals}
commands = {[test-setup]commands}
[testenv:setup27]
recreate = True
deps = pip
basepython = python2.7
whitelist_externals = {[test-setup]whitelist_externals}
commands = {[test-setup]commands}
[testenv:pep8]
basepython = python3.5
deps =
flake8
pep8-naming
commands =
flake8