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.
 
 
 

31 lines
539 B

  1. [tox]
  2. minversion = 1.3
  3. envlist = py26,py27,docs,flake8
  4. [testenv]
  5. deps=
  6. nose
  7. coveralls
  8. coverage
  9. commands=
  10. nosetests --with-coverage --cover-package=wstools --verbosity=5
  11. bash -c "coveralls || true"
  12. whitelist_externals=bash
  13. [testenv:py26]
  14. [testenv:py27]
  15. [testenv:docs]
  16. downloadcache={toxworkdir}/downloadcache
  17. basepython=python2.7
  18. changedir=doc
  19. deps=sphinx
  20. commands=sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
  21. [testenv:flake8]
  22. basepython=python2.7
  23. deps=flake8
  24. commands=flake8 src/wstools/