1
0

tox.ini 816 B

123456789101112131415161718192021222324252627282930313233
  1. [tox]
  2. envlist = py{27,34,35,36}-flask01{1,2}
  3. skipsdist = True
  4. [testenv]
  5. usedevelop = True
  6. deps =
  7. flask011: flask>=0.11,<0.12
  8. flask012: flask>=0.12,<0.13
  9. -rtests_requirements.txt
  10. ci: -rrequirements-ev.txt
  11. ci: psycopg2
  12. ci: python-openid
  13. ci: python-openid-teams
  14. ci: python-openid-cla
  15. setenv =
  16. PAGURE_CONFIG={toxinidir}/tests/test_config
  17. PYTHONPATH={toxinidir}
  18. commands =
  19. #nosetests --with-coverage --cover-erase --cover-package=pagure --with-pagureperf {posargs}
  20. #nosetests {posargs}
  21. python {toxinidir}/runtests.py run -f {posargs}
  22. [testenv:timetests]
  23. basepython = python3
  24. deps =
  25. -rtests_requirements.txt
  26. nose-timer
  27. commands =
  28. nosetests --with-timer --timer-top-n 10 --timer-ok 500ms --timer-warning 1 --timer-json-file tests-duration.json {posargs}