From 78c289ef0b129ab35f7d8d0141cc787c817a858b Mon Sep 17 00:00:00 2001 From: Griatch Date: Wed, 20 Mar 2019 21:12:19 +0100 Subject: [PATCH] Further tests with travis --- .travis.yml | 2 +- .travis/mysql_settings.py | 5 ++--- .travis/postgresql_settings.py | 5 ++++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11cc35fc5d..0793d801d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ before_script: - evennia collectstatic --noinput script: - - coverage run --source=../evennia --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service ../bin/unix/evennia test --settings=settings evennia + - coverage run --source=../evennia --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service ../bin/unix/evennia test --settings=settings --keepdb evennia after_success: - coveralls diff --git a/.travis/mysql_settings.py b/.travis/mysql_settings.py index 6e21d694ac..087a24ac39 100644 --- a/.travis/mysql_settings.py +++ b/.travis/mysql_settings.py @@ -44,11 +44,10 @@ DATABASES = { 'NAME': 'evennia', 'USER': 'evennia', 'PASSWORD': 'password', - 'HOST': 'localhost', # or an IP Address that your DB is hosted on + 'HOST': 'localhost', 'PORT': '', # use default port 'TEST': { - 'CHARSET': 'utf8', - 'COLLATION': 'utf8_unicode_ci' + 'NAME': 'default' } } } diff --git a/.travis/postgresql_settings.py b/.travis/postgresql_settings.py index 1eb8664277..e65737699e 100644 --- a/.travis/postgresql_settings.py +++ b/.travis/postgresql_settings.py @@ -45,7 +45,10 @@ DATABASES = { 'USER': 'evennia', 'PASSWORD': 'password', 'HOST': 'localhost', - 'PORT': '' # use default + 'PORT': '', # use default + 'TEST': { + 'NAME': 'default' + } } }