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 3f2a8249f0 Don't run Rails 4.1 with Ruby head on travis
Rails 4.1 does not work with Ruby 2.4 or higher, so no need to run a
combination we know will fail.
2018-07-17 21:49:55 -04:00

47 lines
1 KiB
YAML

language: ruby
env:
- ARUBA_TIMEOUT=240
before_install:
- gem update --system
- gem update bundler
- gem cleanup bundler
cache: bundler
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- ruby-head
branches:
only:
- master
install:
- "bundle install --retry 3 --jobs 8"
gemfile:
- gemfiles/rails3.2.gemfile
- gemfiles/rails4.1.gemfile
- gemfiles/rails4.2.gemfile
- gemfiles/rails5.0.gemfile
- gemfiles/rails5.1.gemfile
- gemfiles/rails5.2.gemfile
matrix:
fast_finish: true
exclude:
- rvm: 2.1
gemfile: gemfiles/rails5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/rails5.1.gemfile
- rvm: 2.1
gemfile: gemfiles/rails5.2.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
- rvm: ruby-head
gemfile: gemfiles/rails4.1.gemfile
allow_failures:
- rvm: ruby-head