language: ruby
sudo: required
rvm:
  - 2.2.7
  - 2.3.5
  - 2.4.2

install:
  - sudo apt-get update -qq
  - sudo apt-get install libpcap-dev -qq
  - bundle install --path vendor/bundle --jobs=3 --retry=3
before_script:
  - openssl version
  - ruby -ropenssl -e 'puts OpenSSL::VERSION'
script:
  - bundle exec rake
  - rvmsudo bundle exec rake spec:sudo

language: ruby
sudo: required
rvm:
  - 2.2.7
  - 2.3.5
  - 2.4.2
  - 2.5.0

install:
  - sudo apt-get update -qq
  - sudo apt-get install libpcap-dev -qq
  - bundle install --path vendor/bundle --jobs=3 --retry=3
before_script:
  - openssl version
  - ruby -ropenssl -e 'puts OpenSSL::VERSION'
script:
  - bundle exec rake
  - rvmsudo bundle exec rake spec:sudo

Add build with ruby 2.5.0
Add build with ruby 2.5.0
