tox.ini 860 B

12345678910111213141516171819202122232425262728293031323334
  1. [tox]
  2. envlist = py{27,35,36,37}-flask{100,01{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. flask100: flask>=1.0,<1.1
  10. -rrequirements-testing.txt
  11. ci: -rrequirements-ev.txt
  12. ci: psycopg2<2.8
  13. ci: python-openid
  14. ci: python-openid-teams
  15. ci: python-openid-cla
  16. setenv =
  17. PAGURE_CONFIG={toxinidir}/tests/test_config
  18. PYTHONPATH={toxinidir}
  19. commands =
  20. #nosetests --with-coverage --cover-erase --cover-package=pagure --with-pagureperf {posargs}
  21. #nosetests {posargs}
  22. python {toxinidir}/runtests.py run -f {posargs}
  23. [testenv:timetests]
  24. basepython = python3
  25. deps =
  26. -rrequirements-testing.txt
  27. nose-timer
  28. commands =
  29. nosetests --with-timer --timer-top-n 10 --timer-ok 500ms --timer-warning 1 --timer-json-file tests-duration.json {posargs}