diff --git a/.travis.yml b/.travis.yml index 2a5c2af..7931ba9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ python: - "2.6" - "2.7" env: - - DJANGO=1.5.7 DJANGO_SETTINGS_MODULE="django_common.test_settings" - - DJANGO=1.6.4 DJANGO_SETTINGS_MODULE="django_common.test_settings" + - DJANGO=1.5.7 DJANGO_SETTINGS_MODULE="rest_auth.test_settings" + - DJANGO=1.6.4 DJANGO_SETTINGS_MODULE="rest_auth.test_settings" install: - pip install -q Django==$DJANGO --use-mirrors script: diff --git a/rest_auth/test_settings.py b/rest_auth/test_settings.py new file mode 100644 index 0000000..9b565d8 --- /dev/null +++ b/rest_auth/test_settings.py @@ -0,0 +1,17 @@ +import django + +if django.VERSION[:2] >= (1, 3): + DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': ':memory:', + } + } +else: + DATABASE_ENGINE = 'sqlite3' + +INSTALLED_APPS = [ + 'rest_auth', +] + +SECRET_KEY = "38dh*skf8sjfhs287dh&^hd8&3hdg*j2&sd"