language: ruby

cache: bundler

addons:
  apt:
    packages:
      - redis-server

services:
  - redis-server

before_install:
  - sudo sed -e 's/^bind.*/bind 127.0.0.1/' /etc/redis/redis.conf > redis.conf
  - sudo mv redis.conf /etc/redis
  - sudo service redis-server start
  - echo PING | nc localhost 6379

rvm:
  - 2.2
  - 2.3.7
  - 2.4.4
  - 2.5.1

before_script:
  - git config --local user.email "travis@travis.ci"
  - git config --local user.name "Travis CI"

script:
  - redis-cli --version
  - bundle exec rspec
  - bundle exec overcommit --sign
  - bundle exec overcommit --run

matrix:
  allow_failures:
    - rvm: 2.1.0

language: ruby

cache: bundler

addons:
  apt:
    packages:
      - redis-server

services:
  - redis-server

before_install:
  - sudo sed -e 's/^bind.*/bind 127.0.0.1/' /etc/redis/redis.conf > redis.conf
  - sudo mv redis.conf /etc/redis
  - sudo service redis-server start
  - echo PING | nc localhost 6379

rvm:
  - 2.4.6
  - 2.5.5
  - 2.6.3

before_script:
  - git config --local user.email "travis@travis.ci"
  - git config --local user.name "Travis CI"

script:
  - redis-cli --version
  - bundle exec rspec
  - bundle exec overcommit --sign
  - bundle exec overcommit --run

Update TravisCI config to remove unsupported Rubies
Update TravisCI config to remove unsupported Rubies

This was missed in 83c90c14.

While here, update the existing list of Rubies we do support.
