diff options
author | caoyuan <cao.yuan@99cloud.net> | 2019-07-06 01:51:52 +0800 |
---|---|---|
committer | caoyuan <cao.yuan@99cloud.net> | 2019-07-06 18:38:54 +0800 |
commit | 530bbea2ee40b39b1dc1d7c43fd99aadade22de5 (patch) | |
tree | 67a8564857a72e1ed4ec73d228e022a66948a952 /tox.ini | |
parent | 2fe652067b8572b48a926f2fb647d6bf2911a8ab (diff) | |
download | oslo-policy-530bbea2ee40b39b1dc1d7c43fd99aadade22de5.tar.gz |
Move doc related modules to doc/requirements.txt
Change-Id: I2f12fb5058984c1fc6beda4d13f934dd9b218218
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -8,6 +8,7 @@ deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt commands = stestr run --slowest {posargs} [testenv:py27] @@ -28,7 +29,14 @@ commands = {posargs} [testenv:docs] basepython = python3 -commands = python setup.py build_sphinx +whitelist_externals = + rm +deps = + {[testenv]deps} + -r{toxinidir}/doc/requirements.txt +commands = + rm -rf doc/build + sphinx-build -W -b html doc/source doc/build/html [testenv:cover] basepython = python3 @@ -54,3 +62,4 @@ deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt + -r{toxinidir}/doc/requirements.txt |