tox.ini 523 B

123456789101112131415161718192021222324252627
  1. [tox]
  2. envlist = py36, flake8
  3. [travis]
  4. python =
  5. 3.6: py36
  6. 3.5: py35
  7. 3.4: py34
  8. [testenv:flake8]
  9. basepython = python
  10. deps = flake8
  11. commands = flake8 twhatter
  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. py.test --basetemp={envtmpdir}