aboutsummaryrefslogtreecommitdiff
path: root/ci/before_script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/before_script.sh')
-rwxr-xr-xci/before_script.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/before_script.sh b/ci/before_script.sh
index 605ecdbf66..a0e87adb9e 100755
--- a/ci/before_script.sh
+++ b/ci/before_script.sh
@@ -35,5 +35,10 @@ fi
# Compile dependencies.
build_deps
+# Install cluacov for Lua coverage.
+if [[ "$USE_LUACOV" == 1 ]]; then
+ "${DEPS_BUILD_DIR}/usr/bin/luarocks" install cluacov
+fi
+
rm -rf "${LOG_DIR}"
mkdir -p "${LOG_DIR}"