language: ruby
sudo: false
cache: bundler

# 1.9.3 has Bundler 1.7.6 with the "undefined method `spec' for nil" bug
before_install: gem install bundler

rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - ruby-head
  - jruby-head

gemfile:
  - gemfiles/redis_3_x.gemfile
  - gemfiles/redis_4_x.gemfile

matrix:
  allow_failures:
    - rvm: jruby-head
    - rvm: ruby-head
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/redis_4_x.gemfile
    - rvm: 2.0
      gemfile: gemfiles/redis_4_x.gemfile
    - rvm: 2.1
      gemfile: gemfiles/redis_4_x.gemfile

language: ruby
sudo: false
cache: bundler
notifications:
  webhooks: https://www.travisbuddy.com
  on_success: never

# 1.9.3 has Bundler 1.7.6 with the "undefined method `spec' for nil" bug
before_install: gem install bundler

rvm:
  - 1.9.3
  - 2.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - ruby-head
  - jruby-head

gemfile:
  - gemfiles/redis_3_x.gemfile
  - gemfiles/redis_4_x.gemfile

matrix:
  allow_failures:
    - rvm: jruby-head
    - rvm: ruby-head
  exclude:
    - rvm: 1.9.3
      gemfile: gemfiles/redis_4_x.gemfile
    - rvm: 2.0
      gemfile: gemfiles/redis_4_x.gemfile
    - rvm: 2.1
      gemfile: gemfiles/redis_4_x.gemfile

Use TravisBuddy to notify test failures within GitHub comments
Use TravisBuddy to notify test failures within GitHub comments
