Run tests on multiple Python versions and databases (#424)

* Test against more python versions

* Add testing on MySQL

* Add testing on PostgreSQL
This commit is contained in:
Raphael Michel
2017-03-02 11:59:09 +01:00
committed by GitHub
parent b6f42ecd6d
commit af4a2c7184
6 changed files with 62 additions and 19 deletions

View File

@@ -4,6 +4,7 @@ import tempfile
tmpdir = tempfile.TemporaryDirectory()
os.environ.setdefault('DATA_DIR', tmpdir.name)
os.environ.setdefault('PRETIX_CONFIG_FILE', 'test/sqlite.cfg')
from pretix.settings import * # NOQA
@@ -33,10 +34,3 @@ CACHES = {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:'
}
}