[tox]
envlist = py{27,34,35,36,37}-flask{100,01{1,2}}
skipsdist = True
[testenv]
usedevelop = True
deps =
flask011: flask>=0.11,<0.12
flask012: flask>=0.12,<0.13
flask100: flask>=1.0,<1.1
-rrequirements-testing.txt
ci: -rrequirements-ev.txt
ci: psycopg2
ci: python-openid
ci: python-openid-teams
ci: python-openid-cla
setenv =
PAGURE_CONFIG={toxinidir}/tests/test_config
PYTHONPATH={toxinidir}
commands =
#nosetests --with-coverage --cover-erase --cover-package=pagure --with-pagureperf {posargs}
#nosetests {posargs}
python {toxinidir}/runtests.py run -f {posargs}
[testenv:timetests]
basepython = python3
deps =
-rrequirements-testing.txt
nose-timer
commands =
nosetests --with-timer --timer-top-n 10 --timer-ok 500ms --timer-warning 1 --timer-json-file tests-duration.json {posargs}