forked from pmacct/pmacct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (60 loc) · 2.98 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
63
64
65
language: C
compiler: gcc
dist: trusty
sudo: required
install:
- sudo apt-get install pkg-config libtool autoconf automake cmake bash wget
- git clone https://github.com/akheron/jansson
- cd jansson && autoreconf -i && ./configure && make && sudo make install && cd ..
- git clone https://github.com/edenhill/librdkafka
- cd librdkafka && ./configure && make && sudo make install && cd ..
- git clone https://github.com/alanxz/rabbitmq-c
- cd rabbitmq-c && mkdir build && cd build && cmake .. && sudo cmake --build . --target install && cd .. && cd ..
- git clone --recursive https://github.com/maxmind/libmaxminddb
- cd libmaxminddb && ./bootstrap && ./configure && make && sudo make install && cd ..
- git clone -b 3.0-stable https://github.com/ntop/nDPI
- cd nDPI && ./autogen.sh && ./configure && make && sudo make install && sudo ldconfig && cd ..
- wget https://github.com/zeromq/libzmq/releases/download/v4.3.2/zeromq-4.3.2.tar.gz
- tar xfz zeromq-4.3.2.tar.gz
- cd zeromq-4.3.2 && ./configure && make && sudo make install && cd ..
- wget http://www-us.apache.org/dist/avro/avro-1.9.1/c/avro-c-1.9.1.tar.gz
- tar xfz avro-c-1.9.1.tar.gz
- cd avro-c-1.9.1 && mkdir build && cd build && cmake .. && make && sudo make install && cd .. && cd ..
- git clone https://github.com/confluentinc/libserdes
- cd libserdes && ./configure && make && sudo make install && cd ..
- git clone https://github.com/redis/hiredis
- cd hiredis && make && sudo make install && cd ..
env:
- CONFIG_FLAGS="--enable-debug --enable-mysql --enable-pgsql --enable-sqlite3 --enable-kafka --enable-geoipv2 --enable-jansson --enable-rabbitmq --enable-nflog --enable-ndpi --enable-zmq --enable-avro --enable-serdes --enable-redis"
- CONFIG_FLAGS="--enable-mysql --enable-pgsql --enable-sqlite3 --enable-kafka --enable-geoipv2 --enable-jansson --enable-rabbitmq --enable-nflog --enable-ndpi --enable-zmq --enable-avro --enable-serdes --enable-redis"
- CONFIG_FLAGS="--enable-debug --enable-jansson --enable-zmq --enable-kafka"
- CONFIG_FLAGS="--enable-jansson --enable-zmq --enable-kafka"
- CONFIG_FLAGS="--enable-debug --enable-jansson --enable-zmq"
- CONFIG_FLAGS="--enable-jansson --enable-zmq"
- CONFIG_FLAGS="--enable-debug --enable-jansson --enable-kafka --enable-avro --enable-serdes"
- CONFIG_FLAGS="--enable-jansson --enable-kafka --enable-avro --enable-serdes"
- CONFIG_FLAGS="--enable-debug --enable-jansson --enable-kafka"
- CONFIG_FLAGS="--enable-jansson --enable-kafka"
- CONFIG_FLAGS="--enable-debug --enable-zmq"
- CONFIG_FLAGS="--enable-zmq"
- CONFIG_FLAGS="--enable-debug --enable-jansson"
- CONFIG_FLAGS="--enable-jansson"
- CONFIG_FLAGS="--enable-debug"
- CONFIG_FLAGS=""
script:
- ./autogen.sh
- ./configure $CONFIG_FLAGS
- make
- sudo make install
addons:
apt:
packages:
- libpcap-dev
- libpq-dev
- libsqlite3-dev
- libmysqlclient-dev
- libnetfilter-log-dev
- mysql-client-5.6
- libtool
- autoconf
- automake