Skip to content

Commit

Permalink
new try for databse settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Durand committed Dec 8, 2016
1 parent 5586bcd commit dba771d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
services:
- mysql

before_script:
- mysql -e 'create database testdb;'
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS testdb;'

language: python
python:
Expand Down
1 change: 1 addition & 0 deletions settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

DATABASES['default'] = {
'USER': 'root',
'PASSWORD': '',
'HOST': '127.0.0.1',
'ENGINE': 'django.db.backends.mysql',
'NAME': 'testdb'
Expand Down

0 comments on commit dba771d

Please sign in to comment.