language: node_js
node_js:
  - '0.12'
  - 'iojs'

before_install:
  - npm install -g node-gyp
  - sudo apt-get update
  - sudo apt-get install -qq libzmq3-dev

install:
  - npm run build

language: node_js
node_js:
  - '0.12'
  - 'iojs'

addons:
  apt:
    packages:
      -libzmq3-dev

before_install:
  - npm install -g node-gyp

install:
  - npm run build

Use the addons feature to install libzmq3-dev
Use the addons feature to install libzmq3-dev
