Skip to content

Commit

Permalink
Rotate which MRI versions on Travis use sequel_pg daily
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Jun 25, 2018
1 parent 4c807b2 commit a080fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ platforms :ruby do
end

# Test current sequel_pg on half of the MRIs, and pure-ruby on the other half
if RUBY_VERSION.split('.')[1].to_i.even?
if RUBY_VERSION.split('.')[1].to_i.send(Time.now.yday.even? ? :even? : :odd?)
gem 'sequel_pg', github: 'jeremyevans/sequel_pg', require: 'sequel'
end
end
Expand Down

0 comments on commit a080fa8

Please sign in to comment.