Merge "Remove duplicate docker/puppet services.yaml"
[apex-tripleo-heat-templates.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 skipsdist = True
4 envlist = py35,py27,pep8
5
6 [testenv]
7 usedevelop = True
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 = python setup.py testr --slowest --testr-args='{posargs}'
12
13 [testenv:venv]
14 commands = {posargs}
15
16 [testenv:pep8]
17 commands =
18     python ./tools/process-templates.py
19     python ./network/endpoints/build_endpoint_map.py --check
20     python ./tools/yaml-validate.py .
21
22 [testenv:templates]
23 commands = python ./tools/process-templates.py
24
25 [testenv:releasenotes]
26 commands = bash -c tools/releasenotes_tox.sh
27
28 [testenv:cover]
29 commands = python setup.py test --coverage --coverage-package-name=tripleo_heat_templates --testr-args='{posargs}'
30
31 [testenv:genconfig]
32 commands =
33            python ./tools/process-templates.py
34            python ./tripleo_heat_templates/environment_generator.py sample-env-generator/sample-environments.yaml