From a51158eabd3bc071dfd07d41f08bf4312de33dab Mon Sep 17 00:00:00 2001 From: Zhomart Mukhamejanov Date: Sun, 3 Aug 2014 22:43:36 -0700 Subject: [PATCH] .travis changed --- .travis.yml | 3 +++ Gemfile | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6245c57..490212c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Gemfile b/Gemfile index 7476f70..0a70804 100644 --- a/Gemfile +++ b/Gemfile @@ -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