Blame tox.ini

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