Skip to content

Commit

Permalink
Adding custom travis configuration for utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
sheva committed Sep 9, 2019
1 parent dade405 commit 4d20d65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ jobs:
- <<: *e2e_tests
name: 'E2E Mysql'
before_install:
- sudo cp $TRAVIS_BUILD_DIR/_travis/mysql.cnf /etc/mysql/conf.d/
- sudo service mysql restart
- mysql -e 'CREATE DATABASE strapi_test;'
env:
- DB_STRING='--dbclient=mysql --dbhost=localhost --dbport=3306 --dbname=strapi_test --dbusername=travis --dbpassword='
Expand Down
3 changes: 3 additions & 0 deletions _travis/mysql.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[mysqld]
collation-server=utf8_unicode_ci
character-set-server=utf8

0 comments on commit 4d20d65

Please sign in to comment.