Add Makefile targets to run all or selected tests against a

MySQL or Postgres Docker container.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-07-21 23:49:51 -04:00
parent 1cb66a7c6b
commit 22e0604226
6 changed files with 60 additions and 3 deletions

View File

@@ -0,0 +1 @@
from .base import * # NOQA

View File

@@ -0,0 +1,6 @@
from __future__ import unicode_literals
from ..base import * # NOQA
SIGNATURES_GPG_PATH = '/usr/bin/gpg1'

View File

@@ -0,0 +1,13 @@
from __future__ import unicode_literals
from .base import * # NOQA
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mayan',
'USER': 'root',
'HOST': '127.0.0.1',
'PORT': '3306',
}
}

View File

@@ -0,0 +1,13 @@
from __future__ import absolute_import
from .base import * # NOQA
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'postgres',
'USER': 'postgres',
'HOST': 'localhost',
'PORT': '5432',
}
}