language: ruby
cache: bundler
sudo: false
services:
  - mysql
rvm:
  - 2.3.6
  - 2.4.3
  - 2.5.0
  - ruby-head
gemfile:
  - gemfiles/activerecord_4_2.gemfile
  - gemfiles/activerecord_5_0.gemfile
  - gemfiles/activerecord_5_1.gemfile
# NOTE: travis build fails on bundler v1.16.1 && rubygems v2.7.3.
# Update travis's rubygems to v2.7.4.
before_install:
  - gem update --system
before_script:
  - cp spec/database.yml.travis spec/database.yml
  - mysql -e 'create database shibaraku_test;'
matrix:
  allow_failures:
  # NOTE: There are unstable versions
  - rvm: ruby-head

language: ruby
cache: bundler
sudo: false
services:
  - mysql
rvm:
  - 2.3.6
  - 2.4.3
  - 2.5.0
  - ruby-head
gemfile:
  - gemfiles/activerecord_4_2.gemfile
  - gemfiles/activerecord_5_0.gemfile
  - gemfiles/activerecord_5_1.gemfile
before_script:
  - cp spec/database.yml.travis spec/database.yml
  - mysql -e 'create database shibaraku_test;'
matrix:
  allow_failures:
  # NOTE: There are unstable versions
  - rvm: ruby-head

Remove workaround for Travis CI
Remove workaround for Travis CI

Revert "Workaround for travis on rubygems v2.7.3 && bundler v1.16.1"

This reverts commit 0fe70121fbfdc5f685954b572014056f567c7d14.
