language: node_js
install:
  - sudo apt-get install libpcap-dev
  - npm install
node_js:
  - "0.10"

language: node_js

os:
  - linux
  - osx

before_install:
  - env | sort
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi

install:
  - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install libpcap-dev
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install pcap; fi
  - npm install

node_js:
  - "0.10"

Add OS X to Travis builds.
Add OS X to Travis builds.
