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 c9fc696325
Test against Rails 5.1 and 5.2 (#278)
- Add Rails 5.1 and 5.2 to Appraisal
- Avoid running combinations we know are going to fail by moving to
"exclude" instead of "allow_failures"
- Use updated migration class for Rails 5.1+
2018-06-22 13:33:59 -04:00

45 lines
978 B
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
allow_failures:
- rvm: ruby-head