.travis.yml in arel-mysql-index-hint-0.2.0 vs .travis.yml in arel-mysql-index-hint-0.2.1

- old
+ new

@@ -1,12 +1,27 @@ +dist: trusty +sudo: required language: ruby rvm: - 2.0.0 - - 2.1.5 - - 2.2.1 + - 2.1.8 + - 2.2.4 + - 2.3.0 +before_install: + - gem install bundler +before_script: + - docker-compose up -d + - function mysql_ping { mysqladmin -u root -h 127.0.0.1 -ppassword ping > /dev/null 2> /dev/null; } + - for i in {1..60}; do mysql_ping && break; sleep 1; done script: - bundle install - bundle exec rake gemfile: - gemfiles/activerecord_4.0.gemfile - gemfiles/activerecord_4.1.gemfile - gemfiles/activerecord_4.2.gemfile +services: + - docker +addons: + apt: + packages: + - mysql-client-5.6