diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..81cef987 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: python +python: + - "2.7" +install: "pip install -r requirements.txt" + +script: + - python manage.py collectstatic --noinput + - python manage.py test diff --git a/settings.py b/settings.py index 4393e693..8043bc4c 100644 --- a/settings.py +++ b/settings.py @@ -178,8 +178,21 @@ 'US': 'United States', } +# Make this unique, and don't share it with anybody. +SECRET_KEY = '00000000000000000000000000000000000000000000000' + +DATABASES = { + 'default': { + 'ENGINE' : 'django.db.backends.sqlite3', + 'NAME' : 'database.db', + }, +} + ## Import local settings -from local_settings import * +try: + from local_settings import * +except ImportError: + pass # Enable caching templates in production environments if not TEMPLATE_DEBUG: