diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -1,11 +1,11 @@ | |||
1 | [tox] | 1 | [tox] |
2 | minversion = 2.0 | 2 | minversion = 2.0 |
3 | envlist = py34,py27,pypy,pep8 | 3 | envlist = py35,py27,pep8 |
4 | skipsdist = True | 4 | skipsdist = True |
5 | 5 | ||
6 | [testenv] | 6 | [testenv] |
7 | usedevelop = True | 7 | usedevelop = True |
8 | install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} | 8 | install_command = pip install {opts} {packages} |
9 | setenv = | 9 | setenv = |
10 | VIRTUAL_ENV={envdir} | 10 | VIRTUAL_ENV={envdir} |
11 | PYTHONWARNINGS=default::DeprecationWarning | 11 | PYTHONWARNINGS=default::DeprecationWarning |
@@ -21,16 +21,6 @@ commands = {posargs} | |||
21 | [testenv:cover] | 21 | [testenv:cover] |
22 | commands = python setup.py test --coverage --testr-args='{posargs}' | 22 | commands = python setup.py test --coverage --testr-args='{posargs}' |
23 | 23 | ||
24 | [testenv:docs] | ||
25 | commands = python setup.py build_sphinx | ||
26 | |||
27 | [testenv:releasenotes] | ||
28 | commands = | ||
29 | sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html | ||
30 | |||
31 | [testenv:debug] | ||
32 | commands = oslo_debug_helper {posargs} | ||
33 | |||
34 | [flake8] | 24 | [flake8] |
35 | # E123, E125 skipped as they are invalid PEP-8. | 25 | # E123, E125 skipped as they are invalid PEP-8. |
36 | 26 | ||