mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 09:12:14 +01:00
23 lines
847 B
YAML
23 lines
847 B
YAML
language: cpp
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get install -y libboost-all-dev libgpm-dev libncurses5-dev liblog4cpp5-dev libnuma-dev libgeoip-dev libpcap-dev clang cmake
|
|
before_script:
|
|
- pwd > /tmp/old_current_path
|
|
- wget http://sourceforge.net/projects/ntop/files/PF_RING/PF_RING-6.0.2.tar.gz/download -OPF_RING-6.0.2.tar.gz
|
|
- tar -xf PF_RING-6.0.2.tar.gz
|
|
- sudo apt-get update
|
|
- sudo apt-get install -y build-essential bison flex libnuma-dev wget tar make
|
|
- cd PF_RING-6.0.2; cd userland/lib; ./configure --prefix=/opt/pf_ring; make; sudo make install
|
|
- cd `cat /tmp/old_current_path`
|
|
script: mkdir -p build; cd build; cmake .. -DDISABLE_PF_RING_SUPPORT=ON; make
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- pavel.odintsov@gmail.com
|
|
on_success: change
|
|
on_failure: always
|