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:
|
||||
virtualenv --no-site-packages .
|
||||
bin/python setup.py develop
|
||||
bin/pip install coverage
|
||||
bin/pip install nose
|
||||
bin/pip install -r requirements_dev.txt
|
||||
|
||||
test:
|
||||
bin/nosetests
|
||||
./bin/py.test tests/
|
||||
|
||||
coverage:
|
||||
bin/nosetests --with-coverage --cover-html --cover-html-dir=html \
|
||||
--cover-package=gunicorn
|
||||
./bin/py.test --cov gunicorn tests/
|
||||
|
||||
clean:
|
||||
@rm -rf .Python bin lib include man build html
|
||||
|
||||
@ -1 +1,2 @@
|
||||
pytest
|
||||
pytest-cov
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user