.travis changed

This commit is contained in:
Zhomart Mukhamejanov 2014-08-03 22:43:36 -07:00
parent aff2151b10
commit a51158eabd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,5 @@
services: mongodb
language: ruby
before_install:
@ -9,6 +11,7 @@ rvm:
- 1.9.3
env:
- RAILS=4-1-stable DB=mongodb
- RAILS=4-1-stable DB=sqlite3
- RAILS=4-1-stable DB=mysql
- RAILS=4-1-stable DB=postgres

View File

@ -33,4 +33,6 @@ else
end
end
gem 'mongoid', '~> 4.0.0', require: false
if ENV['DB'] == 'mongodb'
gem 'mongoid', '~> 4.0.0', require: false
end