diff --git a/.travis.yml b/.travis.yml index 8a1ccbd..74baa44 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ python: - 3.3 - 3.4 install: - - pip install cookiecutter + - pip install cookiecutter coveralls script: - make +after_success: + - coveralls diff --git a/Makefile b/Makefile index 4765409..fba34f7 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,8 @@ all: test .PHONY: test test: $(COOKIE) cd $(COOKIE); pip install -r requirements/dev.txt - cd $(COOKIE); python manage.py test + cd $(COOKIE); coverage run --source $(COOKIE) manage.py test + cd $(COOKIE); coverage report -m $(COOKIE): Makefile cookiecutter.json $(COOKIE_CRUMBS) cookiecutter . --no-input