Skip to content

Commit 4d20d65

Browse files
author
sheva
committed
Adding custom travis configuration for utf-8
1 parent dade405 commit 4d20d65

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
- <<: *e2e_tests
7272
name: 'E2E Mysql'
7373
before_install:
74+
- sudo cp $TRAVIS_BUILD_DIR/_travis/mysql.cnf /etc/mysql/conf.d/
75+
- sudo service mysql restart
7476
- mysql -e 'CREATE DATABASE strapi_test;'
7577
env:
7678
- DB_STRING='--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=travis --dbpassword='

_travis/mysql.cnf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[mysqld]
2+
collation-server=utf8_unicode_ci
3+
character-set-server=utf8

0 commit comments

Comments
 (0)