forked from pavel-odintsov/fastnetmon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 859 Bytes
/
.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
language: cpp
compiler:
- gcc
- clang
before_install:
- sudo apt-get update; true
- 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 https://github.com/ntop/PF_RING/archive/v6.0.3.tar.gz -OPF_RING-6.0.3.tar.gz
- tar -xf PF_RING-6.0.3.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.3; sudo cp kernel/linux/pf_ring.h /usr/include/linux; cd userland/lib; ./configure --prefix=/opt/pf_ring; make; sudo make install
- cd `cat /tmp/old_current_path`
- cd src
script: mkdir -p build; cd build; cmake ..; make
notifications:
email:
recipients:
on_success: change
on_failure: always