Skip to content

Commit

Permalink
Drop support for Ruby 1.9.3 & update .travis.yml
Browse files Browse the repository at this point in the history
**Why**:
The `encryptor` gem, which is used for the new OTP encryption feature,
requires Ruby 2.0 or later.

Also, Rails 5.0 requires Ruby 2.2.2 or greater, so we need to ignore
1.9.3, 2.0, and 2.1 when running RAILS_VERSION=master on Travis.
  • Loading branch information
monfresh committed Jan 13, 2016
1 parent 9ab78a3 commit e762e99
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
language: ruby

env:
- "RAILS_VERSION=3.2.0"
- "RAILS_VERSION=4.0.0"
- "RAILS_VERSION=4.1.1"
- "RAILS_VERSION=4.2.4"
- "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2"
- "RAILS_VERSION=master"

rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.2.2

matrix:
allow_failures:
- env: "RAILS_VERSION=master"
exclude:
- rvm: 2.0
env: RAILS_VERSION=master
- rvm: 2.1
env: RAILS_VERSION=master

before_install:
- gem update bundler
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Once that's done, run:

bundle install

Note that Ruby 2.0 or greater is required.

### Installation

#### Automatic initial setup
Expand Down

0 comments on commit e762e99

Please sign in to comment.