DongZhi 5421274a23 Initial Load of Nova FusionCompute Project
Initial work to enable the Nova FusionCompute project in git.
The work done here provides:
    - .gitignore - Indicate which files not to track within Git.
	- .gitreview - Input to the git-review command on how to send to Gerrit.
	- .testr.conf - Conf file input for the testr command (UT)
	- CONTRIBUTING.rst - Information on how to contribute.
	- HACKING.rst - Information on what needs to be done for updates.
	- LICENSE - The license for the project - README.rst
	- Information on what this project is. Currently this is the blueprint.
	- openstack-common.conf - Required openstack configuration for all projects
	- setup.cfg - Input to the setup.py on how to execute certain actions.
	- setup.py - Used for build of the project. - requirements.txt
	- Required packages (and levels) to run the code.
	- test-requirements.txt
	- Required packages (and levels) in addition to the requirements, that indicates what is needed to run the UT.
	- tox.ini - The input for the tox commands. In addition, a base set of packages for the agent and unit tests were loaded in.

Change-Id: Id76684afa9c8617b40e8b175785f94ce7fb9a1d6
2016-10-21 13:07:50 +08:00

41 lines
1.0 KiB
INI

[tox]
minversion = 2.0
envlist = py34,py27,pypy,pep8
skipsdist = True
[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}
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps = -r{toxinidir}/test-requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:releasenotes]
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125,N342,H104,W391
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build