2014-12-06 16:35:50 +01:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
before_install:
|
2015-03-28 20:04:33 +01:00
|
|
|
- sudo apt-get update; true
|
2015-07-30 21:39:48 +02:00
|
|
|
- sudo apt-get install -y libboost-all-dev libgpm-dev libncurses5-dev liblog4cpp5-dev libnuma-dev libgeoip-dev libpcap-dev clang cmake git autoconf
|
2014-12-06 17:06:38 +01:00
|
|
|
before_script:
|
2014-12-06 17:22:19 +01:00
|
|
|
- pwd > /tmp/old_current_path
|
2015-05-08 16:05:31 +02:00
|
|
|
- wget https://github.com/ntop/PF_RING/archive/v6.0.3.tar.gz -OPF_RING-6.0.3.tar.gz
|
2015-04-13 11:36:22 +02:00
|
|
|
- tar -xf PF_RING-6.0.3.tar.gz
|
2014-12-06 17:06:38 +01:00
|
|
|
- sudo apt-get update
|
|
|
|
- sudo apt-get install -y build-essential bison flex libnuma-dev wget tar make
|
2015-04-13 11:36:22 +02:00
|
|
|
- cd PF_RING-6.0.3; sudo cp kernel/linux/pf_ring.h /usr/include/linux; cd userland/lib; ./configure --prefix=/opt/pf_ring; make; sudo make install
|
2014-12-06 17:22:19 +01:00
|
|
|
- cd `cat /tmp/old_current_path`
|
2015-07-30 21:39:48 +02:00
|
|
|
- git clone https://github.com/pavel-odintsov/nDPI.git
|
|
|
|
- cd nDPI
|
|
|
|
- ./autogen.sh
|
|
|
|
- ./configure --prefix=/opt/ndpi
|
|
|
|
- sudo make install
|
|
|
|
- cd `cat /tmp/old_current_path`
|
2015-08-02 23:01:58 +02:00
|
|
|
- sudo perl src/fastnetmon_install.pl --use-git-master
|
2015-03-22 11:36:58 +01:00
|
|
|
- cd src
|
2015-02-10 09:11:28 +01:00
|
|
|
script: mkdir -p build; cd build; cmake ..; make
|
2014-12-06 16:35:50 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- pavel.odintsov@gmail.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|