diff options
author | Angel Velásquez <angvp@archlinux.org> | 2017-05-01 16:07:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 16:07:19 -0400 |
commit | e54c8d859d908fc3b4f3e280a3ae4c561b27c0c5 (patch) | |
tree | a1df2b49cba4d41c328131f9f4ad6b76d3337cec | |
parent | 4250aefca3397ff4628e9118df5274b85fdab66e (diff) | |
parent | 320f78e6374fd15c2ba09a3505ccdcd5ad950a8a (diff) | |
download | archweb-e54c8d859d908fc3b4f3e280a3ae4c561b27c0c5.tar.gz archweb-e54c8d859d908fc3b4f3e280a3ae4c561b27c0c5.zip |
Merge pull request #11 from jelly/travisci
Add travisci file
-rw-r--r-- | .travis.yml | 8 | ||||
-rw-r--r-- | settings.py | 15 |
2 files changed, 22 insertions, 1 deletions
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 @@ COUNTRIES_OVERRIDE = { '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: |