before_install: sudo apt-get install libzmq3-dev
script: bundle exec rspec
language: ruby
rvm:
  - 1.9
  - 2.0
  - 2.1
  - rbx-2
notifications:
  email: false
  irc:
    channels:
      - "chat.freenode.net#wires"
before_install:
  "git clone https://github.com/$LIBZMQ_REPO libzmq \
&& cd libzmq                                        \
&& ./autogen.sh                                     \
&& ./configure --with-pgm                           \
&& make                                             \
&& sudo make install                                \
&& cd .."

script: bundle exec rspec
language: ruby
rvm:
  - 1.9
  - 2.0
  - 2.1
  - rbx-2
env:
  - LIBZMQ_REPO=zeromq/zeromq3-x
  - LIBZMQ_REPO=zeromq/zeromq4-x
notifications:
  email: false
  irc:
    channels:
      - "chat.freenode.net#wires"
Add second dimension to Travis CI build matrix - libzmq version 3 and 4
Add second dimension to Travis CI build matrix - libzmq version 3 and 4
