Charm Interface - Gnocchi
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.

tox.ini 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [tox]
  2. envlist = pep8,py27,py34,py35,py36
  3. skipsdist = True
  4. skip_missing_interpreters = True
  5. [testenv]
  6. setenv = VIRTUAL_ENV={envdir}
  7. PYTHONHASHSEED=0
  8. install_command =
  9. pip install {opts} {packages}
  10. commands = ostestr {posargs}
  11. [testenv:py27]
  12. basepython = python2.7
  13. deps = -r{toxinidir}/test-requirements.txt
  14. # TODO: Need to write unit tests then remove the following command.
  15. # https://github.com/juju/charm-tools/issues/249
  16. commands = /bin/true
  17. [testenv:py34]
  18. basepython = python3.4
  19. deps = -r{toxinidir}/test-requirements.txt
  20. # TODO: Need to write unit tests then remove the following command.
  21. # https://github.com/juju/charm-tools/issues/249
  22. commands = /bin/true
  23. [testenv:py35]
  24. basepython = python3.5
  25. deps = -r{toxinidir}/test-requirements.txt
  26. # TODO: Need to write unit tests then remove the following command.
  27. # https://github.com/juju/charm-tools/issues/249
  28. commands = /bin/true
  29. [testenv:pep8]
  30. basepython = python3
  31. deps = -r{toxinidir}/test-requirements.txt
  32. commands = flake8 {posargs}
  33. [testenv:venv]
  34. basepython = python3
  35. commands = {posargs}
  36. [flake8]
  37. ignore = E402,E226