language: ruby
sudo: required
rvm:
  - 2.1
  - 2.2
  - 2.3.1

install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libpcap-dev
  - gem install bundler
  - bundler install --path vendor/bundle --jobs=3 --retry=3
script:
  - bundler exec rake
  - sudo bundler exec rake spec:sudo
language: ruby
sudo: required
rvm:
  - 2.1
  - 2.2
  - 2.3.1

install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq libpcap-dev
  - sudo gem install bundler
  - bundler install --path vendor/bundle --jobs=3 --retry=3
script:
  - bundler exec rake
  - sudo bundler exec rake spec:sudo
Add sudo on installing bundler to have it as root
Add sudo on installing bundler to have it as root
