run coverage on cookies and report to coveralls.io

master
Josh Friend 10 years ago
parent ccf91009d6
commit bcc2b7bd9c
  1. 4
      .travis.yml
  2. 3
      Makefile

@ -4,6 +4,8 @@ python:
- 3.3
- 3.4
install:
- pip install cookiecutter
- pip install cookiecutter coveralls
script:
- make
after_success:
- coveralls

@ -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

Loading…
Cancel
Save