mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
update tox & makefile for py.test
This commit is contained in:
parent
f0deed1529
commit
fa5af28cf6
8
Makefile
8
Makefile
@ -1,15 +1,13 @@
|
|||||||
build:
|
build:
|
||||||
virtualenv --no-site-packages .
|
virtualenv --no-site-packages .
|
||||||
bin/python setup.py develop
|
bin/python setup.py develop
|
||||||
bin/pip install coverage
|
bin/pip install -r requirements_dev.txt
|
||||||
bin/pip install nose
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
bin/nosetests
|
./bin/py.test tests/
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
bin/nosetests --with-coverage --cover-html --cover-html-dir=html \
|
./bin/py.test --cov gunicorn tests/
|
||||||
--cover-package=gunicorn
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -rf .Python bin lib include man build html
|
@rm -rf .Python bin lib include man build html
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
pytest
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user