deb-horizon/setup.cfg
Itxaka a67d75fa58 Enhances tox to not rely on run_tests
Several changes:
 - Dont rely on run_tests.sh and run the commands directly
 - Move the coverage options to the setup.cfg
 - Set py27 envs under the same umbrella
 - Split horizon and openstack_dashboard tests into 2
different envs
 - Remove usedevelop from most envs as its not needed
 - Set basepython to 27 on the default env
 - Allow adding posargs to py34 env
 - Add npm environment which defaults to npm run test
 - Add runserver as a new env
 - Move pep8 to be the first tests so we fail fast
 - Provide an env to tests against system packages, useful
for package builders that DONT want to test against pip
install but their local packages installation.
 - Allow to pass TOX_EXTRA_DEPS to the system_packages
tests in case some extra pip packages are needed
 - Add a manage env to pass commands to manage.py
 - Add an environment to createmessages
 - Add an environment to check only if we can create
messages
 - pep8 environment also runs the check for messages
 - All python commands use {envpython} so no escape
from the venv is possible
 - Uses {toxinidir} for a clear indication of where
the files to be executed are
 - Moves all keywords for pybabel to the setup.cfg
 - Removes not needed whitelist_external for all envs
and uses only git for one specific env

Change-Id: Ia1be8f60265d9dab2639a05912b4b7c51f1d4033
Implements: blueprint enhance-tox
2016-04-20 12:56:53 +02:00

58 lines
1.3 KiB
INI

[metadata]
name = horizon
summary = OpenStack Dashboard
description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = http://www.openstack.org/
classifier =
Development Status :: 5 - Production/Stable
Environment :: OpenStack
Framework :: Django
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Topic :: Internet :: WWW/HTTP
[global]
setup-hooks =
openstack_dashboard.hooks.setup_hook
[files]
packages =
horizon
openstack_dashboard
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
[nosetests]
verbosity=2
detailed-errors=1
[coverage:report]
ignore_errors = True
include =
horizon/*
openstack_dashboard/*
omit =
/usr*
setup.py
*egg*
.venv/*
[coverage:html]
directory = reports
[extract_messages]
keywords = gettext_noop gettext_lazy ngettext_lazy:1,2 ugettext_noop ugettext_lazy ungettext_lazy:1,2 npgettext:1c,2,3 pgettext_lazy:1c,2 npgettext_lazy:1c,2,3
add_comments = Translators: