Move to tox and testrepository

This commit is contained in:
Łukasz Oleś 2015-11-24 14:37:58 +01:00
parent a2837834c3
commit 2f6851bcef
4 changed files with 9 additions and 3 deletions

4
.testr.conf Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
test_command=py.test --subunit $LISTOPT solar
test_id_option=--bar $IDFILE
test_list_option=--collectonly

View File

@ -10,7 +10,7 @@ install:
- pip-accel install coveralls
- pip-accel install -r test-requirements.txt
script:
- py.test --cov=solar -s solar
- tox -e py27
services:
- riak
after_success:

View File

@ -3,3 +3,5 @@ hacking==0.7
pytest-cov
pytest-mock
tox
pytest-subunit
os-testr

View File

@ -7,9 +7,9 @@ envlist = py27,pep8
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
deps = -r{toxinidir}/test-requirements.txt
commands =
py.test {posargs:solar/solar/test}
commands = ostestr --serial
[testenv:pep8]
deps = hacking==0.7