language: ruby
sudo: false
cache: bundler
rvm:
  - 2.4.1
  - 2.4.2
  - 2.4.3
  - 2.4.4
  - 2.4.5
  - 2.4.6
  - 2.5.0
  - 2.5.1
  - 2.5.2
  - 2.5.3
  - 2.5.4
  - 2.5.5
  - 2.6.0
  - 2.6.1
  - 2.6.2
  - 2.6.3
  - ruby-head
before_install:
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
  - gem update --system
matrix:
  allow_failures:
    - rvm: ruby-head
script:
  - bundle exec rubocop
  - bundle exec rspec
notifications:
  email:
    - team@wpscan.org
