Images for use with OpenStack Helm
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 858B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [tox]
  2. minversion = 2.0
  3. envlist = docs
  4. skipsdist = True
  5. [testenv]
  6. install_command =
  7. pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
  8. setenv =
  9. PYTHONUNBUFFERED=1
  10. VIRTUAL_ENV={envdir}
  11. commands =
  12. /usr/bin/find . -type f -name "*.pyc" -delete
  13. passenv =
  14. *_proxy
  15. *_PROXY
  16. whitelist_externals =
  17. bash
  18. [testenv:venv]
  19. basepython = python3
  20. commands = {posargs}
  21. [testenv:docs]
  22. basepython = python3
  23. deps = -r{toxinidir}/doc/requirements.txt
  24. commands =
  25. bash -c "rm -rf doc/build"
  26. doc8 doc
  27. sphinx-build -b html doc/source doc/build/html
  28. [doc8]
  29. extensions = .rst
  30. [testenv:releasenotes]
  31. basepython = python3
  32. deps = {[testenv:docs]deps}
  33. commands =
  34. sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html