
services:
  - postgresql
  - mysql

before_script:
  - mysql -e 'create database search_cop;'
  - psql -c "create user search_cop password 'secret';" -U postgres
  - psql -c 'create database search_cop owner search_cop;' -U postgres

matrix:
  include:
    - rvm: ruby-head
      gemfile: gemfiles/4.2.gemfile
      env: DATABASE=sqlite
    - rvm: ruby-head
      gemfile: gemfiles/4.2.gemfile
      env: DATABASE=mysql
    - rvm: ruby-head
      gemfile: gemfiles/5.1.gemfile
      env: DATABASE=mysql
    - rvm: ruby-head
      gemfile: gemfiles/4.2.gemfile
      env: DATABASE=postgres
    - rvm: ruby-head
      gemfile: gemfiles/5.1.gemfile
      env: DATABASE=postgres

install:
  - "travis_retry bundle install"

script: "rake test --trace"
sudo: false



services:
  - postgresql
  - mysql

before_script:
  - mysql -e 'create database search_cop;'
  - psql -c "create user search_cop password 'secret';" -U postgres
  - psql -c 'create database search_cop owner search_cop;' -U postgres

matrix:
  include:
    - rvm: ruby-head
      gemfile: gemfiles/5.1.gemfile
      env: DATABASE=sqlite
    - rvm: ruby-head
      gemfile: gemfiles/5.1.gemfile
      env: DATABASE=mysql
    - rvm: ruby-head
      gemfile: gemfiles/5.1.gemfile
      env: DATABASE=postgres
    - rvm: ruby-head
      gemfile: gemfiles/6.0.gemfile
      env: DATABASE=sqlite
    - rvm: ruby-head
      gemfile: gemfiles/6.0.gemfile
      env: DATABASE=mysql
    - rvm: ruby-head
      gemfile: gemfiles/6.0.gemfile
      env: DATABASE=postgres

install:
  - "travis_retry bundle install"

script: "rake test --trace"
sudo: false


Remove rails 4.2, add 6.0 to ci
Remove rails 4.2, add 6.0 to ci
