forked from JustinTulloss/zeromq.node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 954 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
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.5"
- ZMQ="git://github.com/zeromq/zeromq4-x.git -b v4.0.5" SODIUM="git://github.com/jedisct1/libsodium.git -b 0.4.5"
before_install:
- export CXX=g++-4.8
- sudo apt-get install uuid-dev
- '[ -z "$SODIUM" ] || git clone --depth 1 $SODIUM libsodium'
- '[ -z "$SODIUM" ] || cd libsodium'
- '[ -z "$SODIUM" ] || ./autogen.sh'
- '[ -z "$SODIUM" ] || ./configure'
- '[ -z "$SODIUM" ] || make'
- '[ -z "$SODIUM" ] || sudo make install'
- '[ -z "$SODIUM" ] || cd ..'
- git clone --depth 1 $ZMQ zmqlib
- cd zmqlib
- ./autogen.sh
- ./configure
- make
- sudo make install
- sudo /sbin/ldconfig
- cd ..
language: node_js
node_js:
- "0.8"
- "0.10"
- "0.12"
- "iojs"
script: travis_retry npm test