CI unit tests should now use TOX and test both libssl 0.9.8 and libssl 1.0.0
This commit is contained in:
31
tox.ini
31
tox.ini
@@ -1,9 +1,30 @@
|
||||
[tox]
|
||||
envlist = py27,py32,py33,py34
|
||||
envlist = py27, py32, py33, py34, pep8, py3pep8
|
||||
skipsdist = True
|
||||
|
||||
;[pytest]
|
||||
|
||||
[testenv]
|
||||
commands=py.test
|
||||
deps=-rrequirements-test.txt
|
||||
setenv = PYTHONPATH=.
|
||||
deps = -rrequirements-test.txt
|
||||
commands =
|
||||
py.test -vv --cov pgpy --cov-report term-missing tests/
|
||||
|
||||
[pytest]
|
||||
norecursedirs = testdata
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
flake8
|
||||
pep8-naming
|
||||
skipsdist = True
|
||||
commands =
|
||||
flake8 --ignore=E201,E202,E221,E251,E265,E501 setup.py
|
||||
flake8 --ignore=E201,E202,E501,E265 pgpy
|
||||
|
||||
[testenv:py3pep8]
|
||||
basepython = python3.4
|
||||
deps =
|
||||
flake8
|
||||
pep8-naming
|
||||
commands =
|
||||
flake8 --ignore=E201,E202,E221,E251,E265,E501 setup.py
|
||||
flake8 --ignore=E201,E202,E501,E265 pgpy
|
||||
Reference in New Issue
Block a user