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 89a257c951 Use minitest-rails only when we actually want to test it.
Some features test the factory_girl_rails integration with minitest-rails.

Other features just test normal integration with rails generators.

When minitest-rails is *always* in our gemfiles, minitest's generator
gets run during the features which generate new rails apps.

Because minitest doesnt support namespaced models, this fails.  But, also,
we don't actually want to run minitest during anything other than the specific
areas where we are testing that integration.

Thus, we need the gem present on the system, but not in the gemfiles during
any times other than when it's pulled in specifically by those features.
2012-12-13 12:02:21 -05:00

16 lines
261 B
YAML

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