]> git.gsnw.org Git - fping.git/commitdiff
travis-ci tuning
authorDavid Schweikert <david@schweikert.ch>
Wed, 5 Mar 2014 07:38:05 +0000 (08:38 +0100)
committerDavid Schweikert <david@schweikert.ch>
Wed, 5 Mar 2014 07:38:05 +0000 (08:38 +0100)
.travis.yml
ci/build-2-install.sh
ci/test-tarball.sh

index b0cc4d27a6ce93403bf910029f7f0159825d629d..087dedc1a29bec0c8ab412bdf08613c2cff6aa5e 100644 (file)
@@ -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
index 8127ca52e90a3b4b2edf76ec068c4fb17fc94001..5018a506704a69e87aa40ac4ba6f7bd413148161 100755 (executable)
@@ -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
index b60069e043c218492247cdb0572c1fee1ab632a0..233dd9b59577a14893831e3213cd9a150b27104c 100755 (executable)
@@ -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