forked from zeromq/jzmq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (36 loc) · 869 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
37
38
addons:
# hostname monkeying needed for openjdk, see travis-ci/travis-ci#5227 for details
hosts:
- myshorthost
hostname: myshorthost
before_install:
- sudo add-apt-repository ppa:trevorbernard/zeromq -y
- sudo apt-get update -y
- sudo apt-get install libpgm-dev make build-essential pkg-config libtool automake -y
- git clone git://github.com/jedisct1/libsodium.git
- cd libsodium
- ./autogen.sh
- ./configure && make
- sudo make install
- sudo ldconfig
- cd ..
- git clone https://github.com/zeromq/libzmq.git
- cd libzmq
- ./autogen.sh
- ./configure --with-libsodium && make
- sudo make install
- sudo ldconfig
- cd ..
- cd jzmq-jni
- ./autogen.sh
- ./configure
- make
- sudo make install
- cd ..
install: mvn install --quiet -DskipTests=true -Dgpg.skip=true
language: java
script: mvn test
jdk:
- openjdk6
- openjdk7
- oraclejdk8