language: ruby

services:
  - redis-server

cache: bundler

before_install:
  - gem update --system
  - gem --version
  - gem install bundler
  - bundle --version
  # Install pahantomjs
  - mkdir travis-phantomjs
  - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
  - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
  - export PATH=$PWD/travis-phantomjs:$PATH

install: bundle install --without development

rvm:
  - 2.4
  - 2.5
  - 2.6

matrix:
  fast_finish: true
  include:
    -
      rvm: 2.4
      env: SUITE="rubocop"
      gemfile: Gemfile

gemfile:
  - gemfiles/sidekiq_5.0.gemfile
  - gemfiles/sidekiq_5.1.gemfile
  - gemfiles/sidekiq_5.2.gemfile
  - gemfiles/sidekiq_6.0.gemfile

language: ruby

services:
  - redis-server

cache: bundler

before_install:
  - gem update --system
  - gem --version
  - gem install bundler
  - bundle --version
  # Install pahantomjs
  - mkdir travis-phantomjs
  - wget https://s3.amazonaws.com/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -O $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2
  - tar -xvf $PWD/travis-phantomjs/phantomjs-2.0.0-ubuntu-12.04.tar.bz2 -C $PWD/travis-phantomjs
  - export PATH=$PWD/travis-phantomjs:$PATH

install: bundle install --without development

rvm:
  - 2.4
  - 2.5
  - 2.6
  - 2.7

matrix:
  fast_finish: true
  include:
    -
      rvm: 2.4
      env: SUITE="rubocop"
      gemfile: Gemfile

gemfile:
  - gemfiles/sidekiq_5.0.gemfile
  - gemfiles/sidekiq_5.1.gemfile
  - gemfiles/sidekiq_5.2.gemfile
  - gemfiles/sidekiq_6.0.gemfile

Add Ruby 2.7 in the build matrix
CI: Add Ruby 2.7 in the build matrix
