Hack to make unittests pass with tox
Still requires 'make' before running tox. Change-Id: I490c46e2d75476bda42a302983c7c0aff0aa917e
This commit is contained in:
parent
24ac0aa93e
commit
9e3a354810
|
@ -1,2 +1,2 @@
|
|||
pbr>=0.5.21,<1.0
|
||||
Babel>=0.9.6
|
||||
Babel>=0.9.6
|
||||
|
|
|
@ -22,6 +22,7 @@ classifier =
|
|||
[files]
|
||||
packages =
|
||||
congress
|
||||
antlr3
|
||||
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,10 +1,8 @@
|
|||
[tox]
|
||||
minversion = 1.6
|
||||
envlist = py26,py27,py33,pypy,pep8
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
|
@ -14,8 +12,8 @@ setenv =
|
|||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
# TODO(pjb): reenable tests once cleaned up
|
||||
#commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
commands = true
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
#commands = true
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
|
Loading…
Reference in New Issue