From 86ecd8226359bac0e43f82522b9cd03efe52a7fa Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Wed, 5 Mar 2014 08:38:05 +0100 Subject: [PATCH] travis-ci tuning --- .travis.yml | 2 +- ci/build-2-install.sh | 5 ++--- ci/test-tarball.sh | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index b0cc4d2..087dedc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/ci/build-2-install.sh b/ci/build-2-install.sh index 8127ca5..5018a50 100755 --- a/ci/build-2-install.sh +++ b/ci/build-2-install.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 diff --git a/ci/test-tarball.sh b/ci/test-tarball.sh index b60069e..233dd9b 100755 --- a/ci/test-tarball.sh +++ b/ci/test-tarball.sh @@ -21,5 +21,6 @@ DIRNAME=$(ls) # build cd $DIRNAME -./configure --enable-ipv4 --enable-ipv6 +./configure --enable-ipv4 --enable-ipv6 --prefix=/opt/fping make +make install -- 2.43.0