You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
426B

  1. [tox]
  2. envlist = py36, py37, flake8
  3. [travis]
  4. python =
  5. 3.7: py37
  6. 3.6: py36
  7. [testenv:flake8]
  8. basepython = python
  9. deps = flake8
  10. commands = flake8 ignot
  11. [coverage:run]
  12. omit = tests/*
  13. [testenv]
  14. passenv = TRAVIS TRAVIS_*
  15. setenv =
  16. PYTHONPATH = {toxinidir}
  17. deps =
  18. -r{toxinidir}/requirements_dev.txt
  19. commands =
  20. pip install -U pip
  21. py.test --cov-config=tox.ini --cov=ignot --basetemp={envtmpdir}
  22. coveralls