Skip to content

Commit

Permalink
removes test env for incompatible Rails 3.2 and adds Rails 4.2
Browse files Browse the repository at this point in the history
gemspec requires "rails" and "activemodel, ">= 4.0", so testing
on 3.2 will always fail to resolve dependencies.

adds and defaults to Rails 4.2 when RAILS_VERSION is not specified
  • Loading branch information
tonyta committed Apr 27, 2015
1 parent 1577969 commit b224d50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ install:
- bundle install --retry=3

env:
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=master"

matrix:
allow_failures:
- rvm: ruby-head
- env: "RAILS_VERSION=master"
- env: "RAILS_VERSION=3.2"
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ gemspec

gem "minitest"

version = ENV["RAILS_VERSION"] || "4.1"
version = ENV["RAILS_VERSION"] || "4.2"

if version == "master"
gem "rails", github: "rails/rails"
Expand Down

0 comments on commit b224d50

Please sign in to comment.