Adding coverage

This commit is contained in:
Rafael Caricio 2011-08-19 11:37:40 -03:00
parent 5d7f20b63a
commit b2aea16c7f

View file

@ -2,7 +2,7 @@ pyvows:
@env PYTHONPATH=$$PYTHONPATH:vows/sandbox/:. pyvows --cover --cover_package=django_pyvows --cover_threshold=100 vows/
ci_test:
@env PYTHONPATH=$$PYTHONPATH:vows/sandbox/:. python vows/sandbox/manage.py syncdb && pyvows -r django_pyvows.coverage.xml -x vows/
@env PYTHONPATH=$$PYTHONPATH:vows/sandbox/:. python --cover --cover_package=django_pyvows --cover_threshold=100 vows/sandbox/manage.py syncdb && pyvows -r django_pyvows.coverage.xml -x vows/
db:
@env PYTHONPATH=$$PYTHONPATH:. mysql -u root -e 'DROP DATABASE IF EXISTS django_pyvows' && mysql -u root -e 'CREATE DATABASE IF NOT EXISTS django_pyvows' && python vows/sandbox/manage.py syncdb