language: ruby

rvm:
  - 2.0.0

env:
  global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true

before_install:
  - sudo apt-get update
  - sudo apt-get install dnsutils
  - rvm @global do gem uninstall bundler -x && gem install bundler -v '~> 1.5.2'  # For Vagrant 1.5

language: ruby

rvm:
  - 2.0.0

sudo: false

addons:
  apt:
    packages:
    - dnsutils

env:
  global:
    - NOKOGIRI_USE_SYSTEM_LIBRARIES=true

before_install:
  - rvm @global do gem uninstall bundler -x && gem install bundler -v '~> 1.5.2'  # For Vagrant 1.5

Use apt addon instead of apt-get
Use apt addon instead of apt-get

speeds up testing because we now can use a docker based container
https://docs.travis-ci.com/user/apt/
