Travis: test-build ZMQ support

Pull packages from OBS as they are not availablein Ubuntu 14.04
master
Luca Boccassi 2017-12-10 19:53:53 +00:00
parent b553cd8fb3
commit 556280d91b
1 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,9 @@ sudo: false
addons:
apt:
sources:
- sourceline: 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/ ./'
key_url: 'http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/xUbuntu_14.04/Release.key'
packages:
- cmake
- libboost-dev
@ -19,9 +22,10 @@ addons:
- libsystemd-journal-dev
- libsctp-dev
- libssl-dev
- libczmq-dev
env:
- DTLS="ON"
- DTLS="OFF"
- DTLS="ON" ZMQ="ON"
- DTLS="OFF" ZMQ="OFF"
script: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUPPORT_JOURNALD=ON -DSUPPORT_DTLS="$DTLS" . && make && make test
script: cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUPPORT_JOURNALD=ON -DSUPPORT_DTLS="$DTLS" -DSUPPORT_ZMQ="$ZMQ" . && make && make test