]> git.gsnw.org Git - fping.git/commitdiff
travis-ci tuning
authorDavid Schweikert <david@schweikert.ch>
Wed, 5 Mar 2014 07:54:31 +0000 (08:54 +0100)
committerDavid Schweikert <david@schweikert.ch>
Wed, 5 Mar 2014 07:54:31 +0000 (08:54 +0100)
.travis.yml
ci/coveralls.sh [new file with mode: 0644]

index 087dedc1a29bec0c8ab412bdf08613c2cff6aa5e..b725032953a03bb887223638edaf99195d96f70b 100644 (file)
@@ -9,7 +9,6 @@ branches:
     only:
         - master
 before_install:
-    - sudo pip install cpp-coveralls --use-mirrors
     - sudo apt-get install libcap2-bin
 install:
     - ci/build-1-autotools.sh
@@ -21,4 +20,4 @@ script:
     - ci/test-tarball.sh
 after_success:
     - ci/deploy-bintray.sh
-    - coveralls --exclude ci
+    - ci/coveralls.sh
diff --git a/ci/coveralls.sh b/ci/coveralls.sh
new file mode 100644 (file)
index 0000000..ca08057
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+sudo pip install cpp-coveralls --use-mirrors
+
+cd src
+gcov *.c
+cd ..
+coveralls --exclude ci --no-gcov