Permalink
Browse files

Add libsodium to travis builds (zmq 4.x only)

  • Loading branch information...
1 parent efbdf45 commit 76ef63d920e3b4f32256979becf9c9255f5bbf1c @msealand msealand committed Feb 11, 2014
Showing with 10 additions and 1 deletion.
  1. +10 −1 .travis.yml
View
@@ -2,9 +2,18 @@ env:
- ZMQ="git://github.com/zeromq/zeromq2-x.git"
- ZMQ="git://github.com/zeromq/zeromq3-x.git -b v3.1.0"
- ZMQ="git://github.com/zeromq/zeromq3-x.git -b v3.2.4"
- - ZMQ="git://github.com/zeromq/zeromq4-x.git -b v4.0.3"
+ - ZMQ="git://github.com/zeromq/zeromq4-x.git -b v4.0.3" SODIUM="git://github.com/jedisct1/libsodium.git -b 0.4.5"
before_install:
- sudo apt-get install uuid-dev
+ - if [ -n "$SODIUM" ]; then
+ - git clone --depth 1 $SODIUM libsodium
+ - cd libsodium
+ - ./autogen.sh
+ - ./configure
+ - make
+ - sudo make install
+ - cd ../
+ - fi
- git clone --depth 1 $ZMQ zmqlib
- cd zmqlib
- ./autogen.sh

0 comments on commit 76ef63d

Please sign in to comment.