tox.ini 623 B

123456789101112131415161718192021222324252627282930
  1. [tox]
  2. envlist = py35, py36, py37, py38, py39, py310, py311, flake8
  3. [travis]
  4. python =
  5. 3.11: py311
  6. 3.10: py310
  7. 3.9: py39
  8. 3.8: py38
  9. 3.7: py37
  10. 3.6: py36
  11. 3.5: py35
  12. [testenv:flake8]
  13. basepython = python
  14. deps = flake8
  15. commands = flake8 banana tests
  16. [testenv]
  17. setenv =
  18. PYTHONPATH = {toxinidir}
  19. deps =
  20. -r{toxinidir}/requirements_dev.txt
  21. ; If you want to make tox run the tests with the same versions, create a
  22. ; requirements.txt with the pinned versions and uncomment the following line:
  23. ; -r{toxinidir}/requirements.txt
  24. commands =
  25. pip install -U pip
  26. pytest --basetemp={envtmpdir}