forked from pmacct/pmacct
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (31 loc) · 1.06 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
language: C
compiler: gcc
sudo: required
install:
- sudo apt-get install libtool autoconf cmake
- 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 ..
- wget https://github.com/maxmind/libmaxminddb/releases/download/1.1.2/libmaxminddb-1.1.2.tar.gz
- tar fxz libmaxminddb-1.1.2.tar.gz
- cd libmaxminddb-1.1.2 && ./configure && make && sudo make install && cd ..
script:
- ./autogen.sh
- ./configure --enable-ipv6 --enable-mysql --enable-pgsql --enable-sqlite3 --enable-kafka --enable-geoipv2 --enable-jansson --enable-rabbitmq --enable-nflog
- make
- sudo make install
- make distcheck
addons:
apt:
packages:
- libpcap-dev
- libpq-dev
- libsqlite3-dev
- libmysqlclient-dev
- libjansson-dev
- libnetfilter-log-dev
- mysql-client
- libtool
- autoconf
- automake