language: ruby
rvm:
  - 2.3.3
services:
  - mysql
bundler_args: "--without development --deployment"

cache: bundler

before_script:
  - mysql -e 'create database myapp_test;'
  - cp config/database.travis.yml config/database.yml
  - bundle exec rake db:create
  - bundle exec rake db:migrate
script:
  - bundle exec rake test

language: ruby
rvm:
  - 2.3.3
services:
  - mysql

bundler_args: "--without development --deployment"

cache: bundler

before_script:
  - mysql -e 'create database myapp_test character set utf8;'
  - cp config/database.travis.yml config/database.yml
  - bundle exec rake db:create
  - bundle exec rake db:migrate
script:
  - bundle exec rake test

Set utf8 character on Travis CI
Set utf8 character on Travis CI
