Merge pull request #11 from jelly/travisci

Add travisci file
This commit is contained in:
Angel Velásquez 2017-05-01 16:07:19 -04:00 committed by GitHub
commit e54c8d859d
2 changed files with 22 additions and 1 deletions

8
.travis.yml Normal file
View File

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

View File

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