language: ruby
sudo: false
cache: bundler
rvm:
  - 2.5.1
services:
  - postgresql
before_script:
  - cp .env.test.sample .env.test
  - bundle exec hanami db prepare

language: ruby
sudo: false
cache: bundler
rvm:
  - 2.5.1
services:
  - postgresql
before_install:
  - gem update --system
  - gem install bundler
before_script:
  - cp .env.test.sample .env.test
  - bundle exec hanami db prepare

Fix build on ruby 2.5.1
Fix build on ruby 2.5.1

https://github.com/travis-ci/travis-ci/issues/8978
