2014-12-06 16:35:50 +01:00
|
|
|
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
|
2014-12-06 17:06:38 +01:00
|
|
|
before_script:
|
2014-12-06 17:22:19 +01:00
|
|
|
- pwd > /tmp/old_current_path
|
2014-12-06 17:10:05 +01:00
|
|
|
- wget http://sourceforge.net/projects/ntop/files/PF_RING/PF_RING-6.0.2.tar.gz/download -OPF_RING-6.0.2.tar.gz
|
2014-12-06 17:06:38 +01:00
|
|
|
- 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
|
2014-12-06 17:12:57 +01:00
|
|
|
- cd PF_RING-6.0.2; 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-01-24 16:23:08 +01:00
|
|
|
script: mkdir -p build; cd build; cmake .. -DDISABLE_PF_RING_SUPPORT=ON; make
|
2014-12-06 16:35:50 +01:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- pavel.odintsov@gmail.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|