Add Travis settings file.

This commit is contained in:
Christopher Charbonneau Wells 2017-11-30 23:10:08 -05:00
parent 3c5aba9ae7
commit 2cd3aacfbf
2 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,8 @@ python:
- 3.4 - 3.4
- 3.5 - 3.5
- 3.6 - 3.6
env:
- DJANGO_SETTINGS_MODULE="babybuddy.settings.travis"
install: install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8 - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 8
- npm install -g gulp-cli && npm install - npm install -g gulp-cli && npm install

View File

@ -0,0 +1,14 @@
from .base import *
SECRET_KEY = 'TRAVISCIWHYNOT'
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}