CI unit tests should now use TOX and test both libssl 0.9.8 and libssl 1.0.0

This commit is contained in:
Michael Greene
2014-05-08 17:36:55 -07:00
parent 212e346e33
commit 5dbd94ad0e
7 changed files with 75 additions and 39 deletions

31
tox.ini
View File

@@ -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