language: ruby
rvm:
- 2.7.1
- 3.0.0
- ruby-head
gemfile: "gems.rb"
addons:
  postgresql: "9.6"
before_install:
  - nvm install 10
before_script:
- "ruby lib/initial_setup.rb ../.travis_setup"
- "psql -c 'create database sleepdata_test;' -U postgres"
- "rails db:migrate"
matrix:
  allow_failures:
  - rvm: 3.0.0
  - rvm: ruby-head

language: ruby
rvm:
- 2.7.1
- 3.0.0
- ruby-head
gemfile: "gems.rb"
addons:
  postgresql: "9.6"
before_install:
  - nvm install 10
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 Ruby 3.0.0 from allow failures list
Remove Ruby 3.0.0 from allow failures list
