language: ruby
cache: bundler

dist: trusty
sudo: false

addons:
  postgresql: "9.6"

env:
  global:
    - LOGIDZE_DB_USER=postgres
    - LOGIDZE_DB_NAME=logidze

before_script:
  - bundle exec rake dummy:db:create
  - psql -U postgres -d logidze -c 'CREATE EXTENSION IF NOT EXISTS hstore;'
  - bundle exec rake dummy:db:test:prepare

matrix:
  include:
    - rvm: ruby-head
      gemfile: gemfiles/railsmaster.gemfile
    - rvm: 2.4.1
      gemfile: gemfiles/rails5.gemfile
    - rvm: 2.3.1
      gemfile: gemfiles/rails42.gemfile
  allow_failures:
    - rvm: ruby-head
      gemfile: gemfiles/railsmaster.gemfile

language: ruby
cache: bundler

dist: trusty
sudo: false

addons:
  postgresql: "9.6"

env:
  global:
    - LOGIDZE_DB_USER=postgres
    - LOGIDZE_DB_NAME=logidze

before_script:
  - gem update --system
  - bundle exec rake dummy:db:create
  - psql -U postgres -d logidze -c 'CREATE EXTENSION IF NOT EXISTS hstore;'
  - bundle exec rake dummy:db:test:prepare

matrix:
  include:
    - rvm: ruby-head
      gemfile: gemfiles/railsmaster.gemfile
    - rvm: 2.5.0
      gemfile: gemfiles/rails5.gemfile
    - rvm: 2.4.1
      gemfile: gemfiles/rails5.gemfile
    - rvm: 2.3.1
      gemfile: gemfiles/rails42.gemfile
  allow_failures:
    - rvm: ruby-head
      gemfile: gemfiles/railsmaster.gemfile

Add ruby 2.5 to CI
Add ruby 2.5 to CI
