As per the governance resolution https://review.openstack.org/119875, projects should have a docs environment in their tox.ini testing interface. Add one. Change-Id: I15c78a3c208820f041c9c3fa957aeb03eb7ab398
		
			
				
	
	
		
			33 lines
		
	
	
		
			615 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			615 B
		
	
	
	
		
			INI
		
	
	
	
	
	
[tox]
 | 
						|
envlist = py26,py27,pep8
 | 
						|
 | 
						|
[testenv]
 | 
						|
setenv = VIRTUAL_ENV={envdir}
 | 
						|
         LANG=en_US.UTF-8
 | 
						|
         LANGUAGE=en_US:en
 | 
						|
         LC_ALL=C
 | 
						|
 | 
						|
deps = -r{toxinidir}/tools/pip-requires
 | 
						|
       -r{toxinidir}/tools/test-requires
 | 
						|
commands = nosetests {posargs}
 | 
						|
 | 
						|
[tox:jenkins]
 | 
						|
sitepackages = True
 | 
						|
downloadcache = ~/cache/pip
 | 
						|
 | 
						|
[testenv:pep8]
 | 
						|
deps=pep8==1.2
 | 
						|
commands = pep8 --exclude=*.pyc --repeat --show-source \
 | 
						|
           packstack/modules packstack/plugins tests setup.py
 | 
						|
 | 
						|
 | 
						|
[testenv:cover]
 | 
						|
setenv = NOSE_WITH_COVERAGE=1
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[testenv:docs]
 | 
						|
commands = python setup.py build_sphinx
 | 
						|
    
 |