1
0

tox.ini 945 B

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