forked from tumi8/vermont
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
62 lines (59 loc) · 1.67 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: cpp
cache: ccache
sudo: false
addons:
apt:
sources: &zeromq_source
- 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: &required_packages
- cmake
- libboost-dev
- libboost-filesystem-dev
- libboost-regex-dev
- libboost-test-dev
- libboost-thread-dev
- libxml2-dev
- libpcap-dev
- libsystemd-journal-dev
- libsctp-dev
packages: &optional_packages
- libssl-dev
- libczmq-dev
matrix:
include:
- compiler: gcc
sudo: true
before_install:
- sudo apt-get remove -qq libssl-dev
env: DTLS="OFF" ZMQ="OFF"
addons:
apt:
packages:
- *required_packages
- compiler: clang
sudo: true
before_install:
- sudo apt-get remove -qq libssl-dev
env: DTLS="OFF" ZMQ="OFF"
addons:
apt:
packages:
- *required_packages
- compiler: gcc
env: DTLS="ON" ZMQ="ON"
addons:
apt:
sources: *zeromq_source
packages:
- *required_packages
- *optional_packages
- compiler: clang
env: DTLS="ON" ZMQ="ON"
addons:
apt:
sources: *zeromq_source
packages:
- *required_packages
- *optional_packages
script: cmake -DCMAKE_INSTALL_PREFIX=/tmp -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUPPORT_JOURNALD=ON -DSUPPORT_DTLS="$DTLS" -DSUPPORT_ZMQ="$ZMQ" . && make && make test && make install