Move sphinx to test-reuqirements.
Change-Id: I15ffeec34cdf9be24ffade5701b8e723aaaa171c
This commit is contained in:
parent
cd452b68e5
commit
601bac9395
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,6 +21,7 @@ develop-eggs
|
||||
.installed.cfg
|
||||
|
||||
# Other
|
||||
.testrepository
|
||||
.tox
|
||||
.*.swp
|
||||
.coverage
|
||||
|
4
.testr.conf
Normal file
4
.testr.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
4
setup.py
4
setup.py
@ -17,5 +17,5 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(
|
||||
setup_requires = ['d2to1'],
|
||||
d2to1 = True)
|
||||
setup_requires=['d2to1'],
|
||||
d2to1=True)
|
||||
|
7
tox.ini
7
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py26,py27,pep8
|
||||
envlist = py26,py27,pep8,pyflakes
|
||||
|
||||
[testenv]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
@ -17,7 +17,7 @@ downloadcache = ~/cache/pip
|
||||
|
||||
[testenv:pep8]
|
||||
commands =
|
||||
pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc .
|
||||
pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*.egg .
|
||||
|
||||
[testenv:pyflakes]
|
||||
deps = pyflakes
|
||||
@ -26,8 +26,7 @@ commands = pyflakes oslo
|
||||
[testenv:cover]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
commands =
|
||||
python setup.py testr --coverage \
|
||||
--testr-args='^(?!.*test.*coverage).*$'
|
||||
python setup.py testr --coverage
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user