Move to tox and testrepository
This commit is contained in:
parent
a2837834c3
commit
2f6851bcef
4
.testr.conf
Normal file
4
.testr.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_command=py.test --subunit $LISTOPT solar
|
||||||
|
test_id_option=--bar $IDFILE
|
||||||
|
test_list_option=--collectonly
|
@ -10,7 +10,7 @@ install:
|
|||||||
- pip-accel install coveralls
|
- pip-accel install coveralls
|
||||||
- pip-accel install -r test-requirements.txt
|
- pip-accel install -r test-requirements.txt
|
||||||
script:
|
script:
|
||||||
- py.test --cov=solar -s solar
|
- tox -e py27
|
||||||
services:
|
services:
|
||||||
- riak
|
- riak
|
||||||
after_success:
|
after_success:
|
||||||
|
@ -3,3 +3,5 @@ hacking==0.7
|
|||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-mock
|
pytest-mock
|
||||||
tox
|
tox
|
||||||
|
pytest-subunit
|
||||||
|
os-testr
|
||||||
|
4
tox.ini
4
tox.ini
@ -7,9 +7,9 @@ envlist = py27,pep8
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
PYTHONHASHSEED=0
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands = ostestr --serial
|
||||||
py.test {posargs:solar/solar/test}
|
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
deps = hacking==0.7
|
deps = hacking==0.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user