Test to output SHOW VARIABLES as part of travis run

This commit is contained in:
Griatch 2019-03-24 10:19:26 +01:00
parent d1c3679998
commit ceab3f9a29
2 changed files with 5 additions and 2 deletions

View file

@ -23,6 +23,7 @@ before_install:
- mysql -u root -e "CREATE DATABASE evennia CHARACTER SET utf8mb4;"
- mysql -u root -e "CREATE USER 'evennia'@'localhost' IDENTIFIED BY 'password';"
- mysql -u root -e "GRANT ALL ON *.* TO 'evennia'@'localhost' IDENTIFIED BY 'password';"
- mysql -u root -e "SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';"
install:
- pip install psycopg2-binary

View file

@ -47,12 +47,14 @@ DATABASES = {
'HOST': 'localhost',
'PORT': '', # use default port
'OPTIONS': {
'read_default_file': '.travis/my.conf'
# 'read_default_file': '.travis/my.conf',
'charset': 'utf8mb4'
},
'TEST': {
'NAME': 'default',
'OPTIONS': {
'read_default_file': '.travis/my.conf'
# 'read_default_file': '.travis/my.conf'
'charset': 'utf8mb4'
}
}
}