@ -17,7 +17,7 @@ install:
- cpanm --sudo Test::Command
script:
- ci/build-2-install.sh
- env PATH=/opt/fping/sbin:$PATH prove ci/test-*.pl
- env PATH=`pwd`/src:$PATH prove ci/test-*.pl
- ci/test-tarball.sh
after_success:
- ci/deploy-bintray.sh
@ -10,6 +10,5 @@ fi
autoreconf -i
./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping
make CFLAGS="-g -fprofile-arcs -ftest-coverage"
sudo make install
sudo setcap cap_net_raw+ep /opt/fping/sbin/fping
sudo setcap cap_net_raw+ep /opt/fping/sbin/fping6
sudo setcap cap_net_raw+ep src/fping
sudo setcap cap_net_raw+ep src/fping6
@ -21,5 +21,6 @@ DIRNAME=$(ls)
# build
cd $DIRNAME
./configure --enable-ipv4 --enable-ipv6
make
make install