1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/.travis.yml
Matijs van Zuijlen 131d7791c5
Fix JRuby CI build (#1475)
* Remove obsolete gemfile

* Work around issue with the combination of I18n and JRuby

See https://github.com/jruby/jruby/issues/6547 and
https://github.com/ruby-i18n/i18n/issues/555

* Use correct released versions of activerecord-jdbcsqlite3-adapter

* Require CI to pass on JRuby again

* Build on latest JRuby 9.2 version
2021-03-29 20:18:27 -04:00

48 lines
981 B
YAML

rvm:
- 2.5
- 2.6
- 2.7
- 3.0
- jruby-9.2.14.0
- ruby-head
before_install:
- gem update --system
- gem update bundler
- gem cleanup bundler
install: "bundle install --jobs 8"
script: "bundle exec rake"
gemfile:
- gemfiles/5.0.gemfile
- gemfiles/5.1.gemfile
- gemfiles/5.2.gemfile
- gemfiles/6.0.gemfile
- gemfiles/6.1.gemfile
- gemfiles/main.gemfile
matrix:
fast_finish: true
exclude:
- rvm: 2.5
gemfile: gemfiles/main.gemfile
- rvm: 2.6
gemfile: gemfiles/main.gemfile
- rvm: 3.0
gemfile: gemfiles/5.0.gemfile
- rvm: 3.0
gemfile: gemfiles/5.1.gemfile
- rvm: 3.0
gemfile: gemfiles/5.2.gemfile
- rvm: ruby-head
gemfile: gemfiles/5.0.gemfile
- rvm: ruby-head
gemfile: gemfiles/5.1.gemfile
- rvm: ruby-head
gemfile: gemfiles/5.2.gemfile
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/main.gemfile
branches:
only:
- master
sudo: false
cache: bundler