aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-05-12 00:52:04 +0000
committerlloyd <[email protected]>2015-05-12 00:52:04 +0000
commitc06b6c1212cb16b2586fb6614dba984d1293db28 (patch)
tree51a452dfb2fd1ba231edd278a6f413852bb9f647 /src/scripts
parent1a2836ce293cd10825c83dc12159e1e60fe7becc (diff)
Shell is not my favorite language
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/ci/after_success.sh3
-rwxr-xr-xsrc/scripts/ci/setup.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/scripts/ci/after_success.sh b/src/scripts/ci/after_success.sh
index dc20e6914..2fe809f42 100755
--- a/src/scripts/ci/after_success.sh
+++ b/src/scripts/ci/after_success.sh
@@ -2,8 +2,7 @@
set -ev
-if [ "$BUILD_MODE" = "coverage" ]
-then
+if [ "$BUILD_MODE" = "coverage" ]; then
lcov --directory . --capture --output-file coverage.info
lcov --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info
lcov --list coverage.info
diff --git a/src/scripts/ci/setup.sh b/src/scripts/ci/setup.sh
index d4fd2f400..56643308a 100755
--- a/src/scripts/ci/setup.sh
+++ b/src/scripts/ci/setup.sh
@@ -10,8 +10,7 @@ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.8 90
-if [ "$BUILD_MODE" = "coverage" ]
-then
+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
make -C lcov-1.11/ install