1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00

Merge pull request #272 from thoughtbot/op-drop-jruby

Drop jruby & add modern Rubies to Travis config
This commit is contained in:
Oliver Peate 2018-06-01 17:53:00 +01:00 committed by GitHub
commit 12e09d4ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,15 +7,16 @@ before_install:
- gem cleanup bundler - gem cleanup bundler
cache: bundler cache: bundler
rvm: rvm:
- 2.1.5 - 2.1
- 2.2.4 - 2.2
- 2.3.0 - 2.3
- jruby-19mode - 2.4
- 2.5
branches: branches:
only: only:
- master - master
install: install:
- "travis_retry bundle install --jobs 8" - "bundle install --retry 3 --jobs 8"
gemfile: gemfile:
- gemfiles/rails3.2.gemfile - gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile - gemfiles/rails4.1.gemfile
@ -24,7 +25,12 @@ gemfile:
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- rvm: jruby-19mode - rvm: 2.1
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1.5
gemfile: gemfiles/rails5.0.gemfile gemfile: gemfiles/rails5.0.gemfile
# Ruby 2.4+ doesn't work with ActiveSupport 4.1
# https://github.com/rails/rails/pull/25161
# https://github.com/rails/rails/pull/25737
- rvm: 2.4
gemfile: gemfiles/rails4.1.gemfile
- rvm: 2.5
gemfile: gemfiles/rails4.1.gemfile