sudo: false
language: ruby
rvm:
- 2.5.1
- ruby-head
gemfile: "gems.rb"
before_install: gem install bundler --no-document # Fixes ruby 2.5.1 tests
before_script:
- "ruby lib/initial_setup.rb ../.travis_setup"
- "psql -c 'create database sleepdata_test;' -U postgres"
- "rails db:migrate"
matrix:
  allow_failures:
  - rvm: ruby-head

language: ruby
rvm:
- 2.5.1
- ruby-head
gemfile: "gems.rb"
before_install: gem install bundler --no-document # Fixes ruby 2.5.1 tests
before_script:
- "ruby lib/initial_setup.rb ../.travis_setup"
- "psql -c 'create database sleepdata_test;' -U postgres"
- "rails db:migrate"
matrix:
  allow_failures:
  - rvm: ruby-head

Remove deprecated `sudo: false` Travis-CI configuration
Remove deprecated `sudo: false` Travis-CI configuration
