tox.ini 539 B

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