From 101f1efbfc573b5c09ff6fdec0356517877dd22d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Werner=20S=C3=A6vland?= Date: Fri, 24 Mar 2017 09:37:36 +0100 Subject: [PATCH] Fixed flask app initialization for Travis CI --- {{cookiecutter.app_name}}/.travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/{{cookiecutter.app_name}}/.travis.yml b/{{cookiecutter.app_name}}/.travis.yml index 08d0986..e28b70b 100644 --- a/{{cookiecutter.app_name}}/.travis.yml +++ b/{{cookiecutter.app_name}}/.travis.yml @@ -1,6 +1,8 @@ # Config file for automatic testing at travis-ci.org sudo: false # http://docs.travis-ci.com/user/migrating-from-legacy/ language: python +env: +- FLASK_APP=autoapp.py FLASK_DEBUG=1 python: - 2.7 - 3.4