mirror of https://github.com/snachodog/mybuddy.git
Add Travis settings file.
This commit is contained in:
parent
3c5aba9ae7
commit
2cd3aacfbf
|
@ -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
|
||||||
|
|
|
@ -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'),
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue