1
0

tox.ini 924 B

1234567891011121314151617181920212223242526272829303132333435
  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. install_command = pip install --no-use-pep517 {opts} {packages}
  17. setenv =
  18. PAGURE_CONFIG={toxinidir}/tests/test_config
  19. PYTHONPATH={toxinidir}
  20. commands =
  21. #nosetests --with-coverage --cover-erase --cover-package=pagure --with-pagureperf {posargs}
  22. #nosetests {posargs}
  23. python {toxinidir}/runtests.py run -f {posargs}
  24. [testenv:timetests]
  25. basepython = python3
  26. deps =
  27. -rrequirements-testing.txt
  28. nose-timer
  29. commands =
  30. nosetests --with-timer --timer-top-n 10 --timer-ok 500ms --timer-warning 1 --timer-json-file tests-duration.json {posargs}