Fix unit test issue with server name when running from mygame settings

This commit is contained in:
Griatch 2019-03-20 00:41:23 +01:00
parent 0de0a71026
commit 75b5dd43d7
2 changed files with 4 additions and 2 deletions

View file

@ -27,14 +27,15 @@ before_install:
install:
- pip install psycopg2-binary
- pip install mysqlclient
- pip install -e .
- pip install coveralls
- pip install -e .
before_script:
- evennia --init testing_mygame
- cp .travis/${TESTING_DB}_settings.py testing_mygame/server/conf/settings.py
- cd testing_mygame
- evennia migrate
- evennia collectstatic
script:
- coverage run --source=../evennia --omit=*/migrations/*,*/urls.py,*/test*.py,*.sh,*.txt,*.md,*.pyc,*.service ../bin/unix/evennia test --settings=settings evennia