Browse Source

Drop support for Ruby 1.9.3 & update .travis.yml

**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.
master
Moncef Belyamani 9 years ago
parent
commit
e762e99922
  1. 16
      .travis.yml
  2. 2
      README.md

16
.travis.yml

@ -1,21 +1,25 @@
language: ruby language: ruby
env: env:
- "RAILS_VERSION=3.2.0" - "RAILS_VERSION=3.2"
- "RAILS_VERSION=4.0.0" - "RAILS_VERSION=4.0"
- "RAILS_VERSION=4.1.1" - "RAILS_VERSION=4.1"
- "RAILS_VERSION=4.2.4" - "RAILS_VERSION=4.2"
- "RAILS_VERSION=master" - "RAILS_VERSION=master"
rvm: rvm:
- 1.9.3
- 2.0 - 2.0
- 2.1 - 2.1
- 2.2 - 2.2.2
matrix: matrix:
allow_failures: allow_failures:
- env: "RAILS_VERSION=master" - env: "RAILS_VERSION=master"
exclude:
- rvm: 2.0
env: RAILS_VERSION=master
- rvm: 2.1
env: RAILS_VERSION=master
before_install: before_install:
- gem update bundler - gem update bundler

2
README.md

@ -24,6 +24,8 @@ Once that's done, run:
bundle install bundle install
Note that Ruby 2.0 or greater is required.
### Installation ### Installation
#### Automatic initial setup #### Automatic initial setup

Loading…
Cancel
Save