forked from rabbotio/pigato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (32 loc) · 891 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
env:
- ZMQ="git://github.com/zeromq/zeromq4-1.git" ZMQ_VERSION="v4.1.2" SODIUM="git://github.com/jedisct1/libsodium.git" SODIUM_VERSION="1.0.3" CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- sudo apt-get install uuid-dev
- '[ -z "$SODIUM" ] || git clone --depth 1 --no-single-branch $SODIUM libsodium'
- '[ -z "$SODIUM" ] || cd libsodium'
- '[ -z "$SODIUM" ] || git checkout $SODIUM_VERSION'
- '[ -z "$SODIUM" ] || ./autogen.sh'
- '[ -z "$SODIUM" ] || ./configure'
- '[ -z "$SODIUM" ] || make'
- '[ -z "$SODIUM" ] || sudo make install'
- '[ -z "$SODIUM" ] || cd ..'
- git clone --depth 1 --no-single-branch $ZMQ zmqlib
- cd zmqlib
- git checkout $ZMQ_VERSION
- ./autogen.sh
- ./configure
- make
- sudo make install
- sudo /sbin/ldconfig
- cd ..
language: node_js
node_js:
- "4.2"
- "5.5"
script: travis_retry npm test