summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-14 21:15:53 +0000
committerGerrit Code Review <review@openstack.org>2017-06-14 21:15:53 +0000
commit5ed6cc394b7641251c2f6c80bfdfc7c228a2a036 (patch)
tree000eb6f4486e77046892c6076feed26512f38c75 /tox.ini
parentbf66addf38e3ed53f0058c82a984fef6d5a5e5aa (diff)
parent4e24c8cb6a1f65b1e5c764febfe96c2c465cfed1 (diff)
Merge "Sample environment generator"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index b92e5456..74f1b5f6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,12 +1,14 @@
[tox]
minversion = 1.6
skipsdist = True
+envlist = py35,py27,pep8
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
+commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
@@ -22,3 +24,11 @@ commands = python ./tools/process-templates.py
[testenv:releasenotes]
commands = bash -c tools/releasenotes_tox.sh
+
+[testenv:cover]
+commands = python setup.py test --coverage --coverage-package-name=tripleo_heat_templates --testr-args='{posargs}'
+
+[testenv:genconfig]
+commands =
+ python ./tools/process-templates.py
+ python ./tripleo_heat_templates/environment_generator.py sample-env-generator/sample-environments.yaml