Skip to content

Commit

Permalink
Added explicit mongoid 3.1 and 4.0 to build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
rmm5t committed Jun 8, 2015
1 parent e8e5e99 commit cd0aaa2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -4,6 +4,7 @@
.config
.yardoc
Gemfile.lock
gemfiles/*.lock
InstalledFiles
_yardoc
coverage
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -5,10 +5,12 @@ rvm:
- rbx-19mode
- jruby-19mode
gemfile:
- gemfiles/mongoid-3.1.gemfile
- gemfiles/mongoid-4.0.gemfile
- gemfiles/edge.gemfile
- Gemfile
- Gemfile.edge

matrix:
allow_failures:
- gemfile: Gemfile.edge
- gemfile: gemfiles/edge.gemfile
fast_finish: true
3 changes: 1 addition & 2 deletions Gemfile.edge → gemfiles/edge.gemfile
@@ -1,6 +1,5 @@
source 'https://rubygems.org'

gemspec

gemspec path: "../"
gem 'mongoid', github: 'mongoid/mongoid'
gem 'minitest-activemodel', github: 'frodsan/minitest-activemodel'
4 changes: 4 additions & 0 deletions gemfiles/mongoid-3.1.gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gemspec path: "../"
gem 'mongoid', '~> 3.1'
4 changes: 4 additions & 0 deletions gemfiles/mongoid-4.0.gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gemspec path: "../"
gem 'mongoid', '~> 4.0'

0 comments on commit cd0aaa2

Please sign in to comment.