1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/.travis.yml
Daniel Colson c8b3f90abc
Run tests on Ruby 3.0 (#390)
Rails 5.2 and below [do not work with Ruby 3][rails issue], so don't run
those test

[rails issue]: https://github.com/rails/rails/issues/40938.
2021-01-13 08:46:26 -05:00

33 lines
620 B
YAML

language: ruby
env:
- ARUBA_TIMEOUT=240
cache: bundler
rvm:
- 2.5
- 2.6
- 2.7
- 3.0
- ruby-head
branches:
only:
- master
install:
- "bundle install --retry 3 --jobs 8"
script: "bundle exec rake"
gemfile:
- gemfiles/rails5.0.gemfile
- gemfiles/rails5.1.gemfile
- gemfiles/rails5.2.gemfile
- gemfiles/rails6.0.gemfile
- gemfiles/rails6.1.gemfile
matrix:
exclude:
- rvm: 3.0
gemfile: gemfiles/rails5.0.gemfile
- rvm: 3.0
gemfile: gemfiles/rails5.1.gemfile
- rvm: 3.0
gemfile: gemfiles/rails5.2.gemfile
fast_finish: true
allow_failures:
- rvm: ruby-head