diff options
author | Daniel Hahler <git@thequod.de> | 2019-10-04 16:09:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 16:09:42 +0200 |
commit | 77a551b6571f9a455efffeb7f43bf8235b2cbe49 (patch) | |
tree | 4506ead6fd49bd8e246737b9fd5d353f567b416c /ci/before_script.sh | |
parent | a341eb608706e5e8ac691a7e8f4a9d314bafee20 (diff) | |
download | rneovim-77a551b6571f9a455efffeb7f43bf8235b2cbe49.tar.gz rneovim-77a551b6571f9a455efffeb7f43bf8235b2cbe49.tar.bz2 rneovim-77a551b6571f9a455efffeb7f43bf8235b2cbe49.zip |
ci: coverage for Lua (no Windows, using luacov) (#11127)
Diffstat (limited to 'ci/before_script.sh')
-rwxr-xr-x | ci/before_script.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/before_script.sh b/ci/before_script.sh index 605ecdbf66..6a07c6747e 100755 --- a/ci/before_script.sh +++ b/ci/before_script.sh @@ -35,5 +35,10 @@ fi # Compile dependencies. build_deps +# Install luacov for Lua coverage. +if [[ "$USE_LUACOV" == 1 ]]; then + "${DEPS_BUILD_DIR}/usr/bin/luarocks" install luacov +fi + rm -rf "${LOG_DIR}" mkdir -p "${LOG_DIR}" |