Add come magic with current path of Travis

This commit is contained in:
Pavel Odintsov 2014-12-06 19:22:19 +03:00
parent 2378cb2bd4
commit 6bd4a50a5f

@ -6,13 +6,13 @@ 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:
- pushd
- 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
- popd
- cd `cat /tmp/old_current_path`
script: mkdir -p build; cd build; cmake ..; make
notifications:
email: