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
Matt Jankowski 5b099f6773 Allow Rails 3.1 to select the 'turn' gem it wants to use
Rails 3.1.x has code which checks which version of ruby is being run,
and based on the result, selects a version of turn.

For 1.9.3+, it selects "~> 0.8.3"; for everything else, it selects "0.8.2".

If we remove turn from the Appraisals, but have travis install both versions
that rails might potentially need, the in-generated-app Gemfile building should
work correctly.
2013-01-07 16:42:54 -05:00

17 lines
304 B
YAML

rvm:
- 1.9.2
- 1.9.3
- jruby-19mode
before_install:
- gem update --system
- gem install turn --version 0.8.2
- gem install turn --version 0.8.3
jdk:
- openjdk6
gemfile:
- gemfiles/rails3.0.gemfile
- gemfiles/rails3.1.gemfile
- gemfiles/rails3.2.gemfile
branches:
only:
- master