language: ruby
before_install:
  - travis_retry gem install bundler
rvm:
  - 2.1
  - 2.2
  - 2.3.1
  - 2.4
  - ruby-head
  - jruby
  - rbx-2
gemfile:
  - Gemfile
  - gemfiles/redisrb-master.gemfile
matrix:
  allow_failures:
    - rvm: rbx-2
# Use the faster container based infrastructure
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false

language: ruby
cache: bundler
# Use the faster container based infrastructure
# http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false

rvm:
  - 2.2
  - 2.3.1
  - 2.4
  - ruby-head
  - jruby
  - rbx-2

gemfile:
  - Gemfile
  - gemfiles/redisrb-master.gemfile

matrix:
  allow_failures:
    - rvm: rbx-2

Drop Ruby 2.1 from testing
Drop Ruby 2.1 from testing

It is no longer supported https://www.ruby-lang.org/en/news/2017/04/01/support-of-ruby-2-1-has-ended and redis 4.0 requires Ruby >= 2.2
