53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
[tox]
 | 
						|
minversion = 1.6
 | 
						|
skipsdist = True
 | 
						|
envlist = py26,py27,py33,pep8
 | 
						|
 | 
						|
[testenv]
 | 
						|
usedevelop = True
 | 
						|
install_command = pip install {opts} {packages}
 | 
						|
setenv = VIRTUAL_ENV={envdir}
 | 
						|
         LANG=en_US.UTF-8
 | 
						|
         LANGUAGE=en_US:en
 | 
						|
         LC_ALL=C
 | 
						|
deps = -r{toxinidir}/requirements.txt
 | 
						|
       -r{toxinidir}/test-requirements.txt
 | 
						|
commands = python setup.py testr --slowest --testr-args='{posargs}'
 | 
						|
 | 
						|
[testenv:py26]
 | 
						|
deps = -r{toxinidir}/requirements.txt
 | 
						|
       -r{toxinidir}/test-requirements.txt
 | 
						|
       -r{toxinidir}/test-2.x-requirements.txt
 | 
						|
 | 
						|
[testenv:py27]
 | 
						|
deps = -r{toxinidir}/requirements.txt
 | 
						|
       -r{toxinidir}/test-requirements.txt
 | 
						|
       -r{toxinidir}/test-2.x-requirements.txt
 | 
						|
 | 
						|
[tox:jenkins]
 | 
						|
downloadcache = ~/cache/pip
 | 
						|
 | 
						|
[testenv:pep8]
 | 
						|
commands =
 | 
						|
  flake8 {posargs}
 | 
						|
 | 
						|
[testenv:pylint]
 | 
						|
setenv = VIRTUAL_ENV={envdir}
 | 
						|
deps = -r{toxinidir}/requirements.txt
 | 
						|
       pylint==0.26.0
 | 
						|
commands = pylint
 | 
						|
 | 
						|
[testenv:cover]
 | 
						|
deps = -r{toxinidir}/requirements.txt
 | 
						|
       -r{toxinidir}/test-requirements.txt
 | 
						|
       -r{toxinidir}/test-2.x-requirements.txt
 | 
						|
commands = python setup.py testr --coverage --testr-args='{posargs}'
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[flake8]
 | 
						|
ignore = H402
 | 
						|
builtins = _
 | 
						|
exclude = .venv,.tox,dist,doc,./taskflow/openstack/common,*egg,.git,build,tools
 |