OpenStack Orchestration (Heat) Agents
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.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [tox]
  2. envlist = py27,py36,pep8
  3. minversion = 1.6
  4. skipsdist = True
  5. [testenv]
  6. whitelist_externals = bash
  7. setenv = VIRTUAL_ENV={envdir}
  8. install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
  9. deps = -r{toxinidir}/requirements.txt
  10. -r{toxinidir}/test-requirements.txt
  11. commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
  12. testr run {posargs}
  13. [testenv:pep8]
  14. basepython = python3
  15. commands = flake8
  16. [testenv:docs]
  17. basepython = python3
  18. deps = -r{toxinidir}/doc/requirements.txt
  19. commands = sphinx-build -W -b html doc/source doc/build/html
  20. [testenv:venv]
  21. basepython = python3
  22. commands = {posargs}
  23. [flake8]
  24. show-source = True
  25. builtins = _
  26. exclude=.venv,.git,.tox,*lib/python*,private,.eggs
  27. [testenv:releasenotes]
  28. basepython = python3
  29. deps = -r{toxinidir}/doc/requirements.txt
  30. commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
  31. [testenv:lower-constraints]
  32. basepython = python3
  33. deps =
  34. -c{toxinidir}/lower-constraints.txt
  35. -r{toxinidir}/test-requirements.txt
  36. -r{toxinidir}/requirements.txt