astara-neutron/tox.ini
Yang Hongyang bdf62157f1 trivial: fix wrong package name
package name should be astara_neutron.

Change-Id: I9dbff6ebf3cf6eb5d932c67f39bb1e07ae3aacb9
2016-02-06 14:06:45 +08:00

36 lines
758 B
INI

[tox]
envlist = py27,pep8
[testenv]
distribute = False
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
commands = nosetests --with-coverage --cover-package=astara_neutron {posargs}
sitepackages = False
[tox:jenkins]
[testenv:style]
deps = flake8
setuptools_git>=0.4
commands = flake8 astara_neutron setup.py
[testenv:pep8]
deps = {[testenv:style]deps}
commands = {[testenv:style]commands}
[testenv:doc]
commands = {[testenv:releasenotes]commands}
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
commands = {posargs}
[flake8]
ignore = E133,E226,E241,E242,E731,F821
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html