Added py35 environment configuration to tox.ini
Change-Id: Idb186c1d39febfe6ddd3943d14d016a3b471bf23
This commit is contained in:
13
tox.ini
13
tox.ini
@@ -44,6 +44,17 @@ commands =
|
||||
rm -f .coverage
|
||||
rm -rf .testrepository
|
||||
|
||||
[testenv:py35]
|
||||
basepython = python3.5
|
||||
setenv =
|
||||
OS_TEST_PATH = ./freezerclient/tests/unit
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
python setup.py testr --coverage --testr-args="{posargs}"
|
||||
coverage report -m
|
||||
rm -f .coverage
|
||||
rm -rf .testrepository
|
||||
|
||||
[testenv:docs]
|
||||
commands =
|
||||
python setup.py build_sphinx
|
||||
@@ -68,4 +79,4 @@ exclude = .venv,.tox,dist,doc,test,*egg,tests,releasenotes
|
||||
|
||||
|
||||
[testenv:releasenotes]
|
||||
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
Reference in New Issue
Block a user