travis-ci tuning

pull/67/head
David Schweikert 11 years ago
parent 382ab64e5c
commit 86ecd82263

@ -17,7 +17,7 @@ install:
- cpanm --sudo Test::Command - cpanm --sudo Test::Command
script: script:
- ci/build-2-install.sh - 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 - ci/test-tarball.sh
after_success: after_success:
- ci/deploy-bintray.sh - ci/deploy-bintray.sh

@ -10,6 +10,5 @@ fi
autoreconf -i autoreconf -i
./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping ./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping
make CFLAGS="-g -fprofile-arcs -ftest-coverage" make CFLAGS="-g -fprofile-arcs -ftest-coverage"
sudo make install sudo setcap cap_net_raw+ep src/fping
sudo setcap cap_net_raw+ep /opt/fping/sbin/fping sudo setcap cap_net_raw+ep src/fping6
sudo setcap cap_net_raw+ep /opt/fping/sbin/fping6

@ -21,5 +21,6 @@ DIRNAME=$(ls)
# build # build
cd $DIRNAME cd $DIRNAME
./configure --enable-ipv4 --enable-ipv6 ./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping
make make
make install

Loading…
Cancel
Save