aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/ci/install.sh')
-rwxr-xr-xsrc/scripts/ci/install.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scripts/ci/install.sh b/src/scripts/ci/install.sh
new file mode 100755
index 000000000..dd9b7e371
--- /dev/null
+++ b/src/scripts/ci/install.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -ev
+
+if [ "$BUILD_MODE" = "coverage" ]; then
+ wget http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.11.orig.tar.gz
+ tar -xvf lcov_1.11.orig.tar.gz
+ export PREFIX="/tmp"
+ make -C lcov-1.11/ install
+ gem install coveralls-lcov
+fi