Kingbird Horizon plugin.
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.

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [tox]
  2. minversion = 1.6
  3. envlist = pep8,py27
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
  8. setenv =
  9. VIRTUAL_ENV={envdir}
  10. deps = -r{toxinidir}/requirements.txt
  11. -r{toxinidir}/test-requirements.txt
  12. http://tarballs.openstack.org/horizon/horizon-master.tar.gz
  13. commands =
  14. find . -type f -name "*.pyc" -delete
  15. whitelist_externals = find
  16. [testenv:py27]
  17. setenv = DJANGO_SETTINGS_MODULE=kingbird_dashboard.test.settings
  18. [testenv:pep8]
  19. commands = flake8
  20. [testenv:venv]
  21. commands = {posargs}
  22. [testenv:cover]
  23. commands = python setup.py testr --coverage --testr-args='{posargs}'
  24. [testenv:docs]
  25. commands = python setup.py build_sphinx
  26. [testenv:debug]
  27. whitelist_externals = oslo_debug_helper
  28. commands = oslo_debug_helper -t kingbird_dashboard/test {posargs}
  29. [flake8]
  30. show-source = True
  31. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,tools,horizon
  32. [testenv:releasenotes]
  33. commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html