tox.ini 585 B

12345678910111213141516171819202122232425
  1. # Tox (http://tox.testrun.org/) is a tool for running tests
  2. # in multiple virtualenvs. This configuration file will run the
  3. # test suite on all supported python versions. To use it, "pip install tox"
  4. # and then run "tox" from this directory.
  5. [tox]
  6. envlist = py34, py27, docs
  7. [testenv]
  8. commands = {envpython} setup.py test
  9. changedir = .
  10. deps = pexpect
  11. pycrypto
  12. colorama
  13. pymysql
  14. psycopg2
  15. pymongo==2.8
  16. sitepackages=True
  17. [testenv:docs]
  18. changedir = docs
  19. deps =
  20. sphinx
  21. commands =
  22. sphinx-build -b html -d {envtmpdir}/doctrees source {envtmpdir}/html