fuel-web/nailgun/tox.ini
Sebastian Kalinowski 0038afa326 Add graph visualization handler
* added handler which allow to get a DOT representation of
  deployment graph (full or selected tasks):
  /api/v1/clusters/<id>/deploy_tasks/graph.gv
  Colors for nodes in graph:
  - groups - blue
  - stages - red
  - task that will not be executed - gray
  - normal task - green
  Available params:
  - tasks - list of tasks that will be selected to make a deployment
  - parents_for - show only predecessors/parents for given task
* added pydot-ng as a requirement
* in tox env always install newest package

Depends on: I706e18815f35904bf1f148edba818d281f2005b0

Change-Id: Id6fe85efe2549a63737ad50e5e55a70a480c83ab
Implements: blueprint granular-deployment-based-on-tasks
2015-03-09 15:08:39 +01:00

43 lines
792 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py26,py27,pep8
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands =
py.test {posargs:nailgun/test}
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:pep8]
deps = hacking==0.7
usedevelop = False
commands =
flake8 {posargs:nailgun}
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
deps = -r{toxinidir}/requirements.txt
commands = {posargs:}
[testenv:devenv]
envdir = devenv
usedevelop = True
[flake8]
ignore = H234,H302,H802
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools,__init__.py,docs
show-pep8 = True
show-source = True
count = True
[hacking]
import_exceptions = testtools.matchers