From d0e77a48ece3f500c6319bd50fe454043c1c2894 Mon Sep 17 00:00:00 2001 From: Nikolay Mahotkin Date: Mon, 19 Sep 2016 12:32:14 +0300 Subject: [PATCH] Adding tox env for docs Change-Id: I30f009448a3d82d6a53463ff534aae3dc466c042 --- test-requirements.txt | 4 +++- tox.ini | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 9beacb5..b90c708 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,6 +1,8 @@ testtools requests +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 paramiko python-muranoclient python-heatclient -python-novaclient \ No newline at end of file +python-novaclient diff --git a/tox.ini b/tox.ini index cc3a64b..a9a27eb 100644 --- a/tox.ini +++ b/tox.ini @@ -16,5 +16,8 @@ distribute = false [testenv:venv] commands = {posargs:} +[testenv:docs] +commands = sphinx-build doc/source doc/build + [testenv:deploy_scale_k8s] commands = python -m unittest tests.test_k8s_app.MuranoK8sTest.test_deploy_scale_k8s