tox.ini 557 B

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