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.

33 lines
524 B

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. [tox]
  2. envlist =
  3. py26,
  4. py27,
  5. py33,
  6. py34,
  7. py35
  8. # ignore missing setup.py
  9. skipsdist = True
  10. [testenv]
  11. setenv =
  12. PYTHONDONTWRITEBYTECODE = 1
  13. deps =
  14. mock
  15. coverage
  16. ipdb
  17. ipython
  18. pytest >= 2.9
  19. commands =
  20. coverage run --source=bin/ --omit=bin/autojump_argparse.py -m \
  21. py.test -vv -rxs --tb native -s --strict {posargs:tests}
  22. coverage report -m
  23. [testenv:pre-commit]
  24. deps =
  25. pre-commit>=0.7.0
  26. commands =
  27. pre-commit {posargs}
  28. [pytest]
  29. norecursedirs = .git .tox docs