Updating makefile to run tests in ci.

This commit is contained in:
Rafael Caricio 2011-08-19 11:20:52 -03:00
parent e327ac06ce
commit 7f62569bfb

View file

@ -1,5 +1,8 @@
pyvows:
@env PYTHONPATH=$$PYTHONPATH:vows/sandbox/:. pyvows --cover --cover_package=django_pyvows --cover_threshold=100 vows/
ci_test:
@env PYTHONPATH=$$PYTHONPATH:vows/sandbox/:. 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