tox.ini 757 B

123456789101112131415161718
  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 = py27, py33, py34, pypy
  7. [testenv]
  8. commands = {envpython} setup.py test
  9. passenv = EC2_ACCESS_KEY EC2_SECRET_KEY OS_AUTH_URL OS_PASSWORD OS_TENANT_NAME OS_USERNAME
  10. # Run coverage for python27 - omit interfaces.py since it's a behaviour spec only.
  11. [testenv:py27]
  12. commands = {envpython} -m coverage run --branch --source=cloudbridge --omit=cloudbridge/providers/interfaces.py setup.py test
  13. passenv = EC2_ACCESS_KEY EC2_SECRET_KEY OS_AUTH_URL OS_PASSWORD OS_TENANT_NAME OS_USERNAME
  14. deps =
  15. coverage