language: ruby

rvm:
  - 2.2
  - 2.3
  - 2.4
  - ruby-head

matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head

branches:
  only:
    - "master"

before_install: gem install bundler

cache: bundler

sudo: false

git:
  depth: 10

language: ruby

rvm:
  - 2.2
  - 2.3
  - 2.4
  - ruby-head

matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head

branches:
  only:
    - "master"

cache: bundler

sudo: false

git:
  depth: 10

Remove useless before_install in Travis CI config
chore: Remove useless before_install in Travis CI config
