Skip to content
Snippets Groups Projects
Commit ccf91009 authored by Josh Friend's avatar Josh Friend
Browse files

Build cookies on Travis

parent 91fdb615
No related branches found
No related tags found
No related merge requests found
language: python
python:
- 2.7
- 3.3
- 3.4
install:
- pip install cookiecutter
script:
- make
Makefile 0 → 100644
# match default value of app_name from cookiecutter.json
COOKIE := myflaskapp
COOKIE_JAR := {{cookiecutter.app_name}}
COOKIE_CRUMBS := $(shell find $(COOKIE_JAR))
.PHONY: all
all: test
.PHONY: test
test: $(COOKIE)
cd $(COOKIE); pip install -r requirements/dev.txt
cd $(COOKIE); python manage.py test
$(COOKIE): Makefile cookiecutter.json $(COOKIE_CRUMBS)
cookiecutter . --no-input
.PHONY: clean
clean:
rm -r $(COOKIE)
...@@ -5,6 +5,10 @@ A Flask template for cookiecutter_. ...@@ -5,6 +5,10 @@ A Flask template for cookiecutter_.
.. _cookiecutter: https://github.com/audreyr/cookiecutter .. _cookiecutter: https://github.com/audreyr/cookiecutter
.. image:: https://travis-ci.org/sloria/cookiecutter-flask.svg
:target: https://travis-ci.org/sloria/cookiecutter-flask
:alt: Build Status
Use it now Use it now
---------- ----------
:: ::
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment