gunicorn/Makefile
Berker Peksag e84068b518 Use tox in .travis.yml.
This way we can avoid code duplication.

Also, this change makes tests faster due to ignoring the sdist step
and adds Python 3.2, 3.4 and PyPy 3 to build matrix.
2014-10-19 02:12:59 +03:00

18 lines
373 B
Makefile

build:
virtualenv venv
venv/bin/pip install -e .
venv/bin/pip install -r requirements_dev.txt
test:
venv/bin/python setup.py test
coverage:
venv/bin/python setup.py test --cov
clean:
@rm -rf .Python MANIFEST build dist venv* *.egg-info *.egg
@find . -type f -name "*.py[co]" -delete
@find . -type d -name "__pycache__" -delete
.PHONY: build clean coverage test