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 -r test-requirements.txt
|
||||
script:
|
||||
- py.test --cov=solar -s solar
|
||||
- tox -e py27
|
||||
services:
|
||||
- riak
|
||||
after_success:
|
||||
|
@ -3,3 +3,5 @@ hacking==0.7
|
||||
pytest-cov
|
||||
pytest-mock
|
||||
tox
|
||||
pytest-subunit
|
||||
os-testr
|
||||
|
4
tox.ini
4
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user