mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
aaab777ddb
The debug output from Coveralls was rubbish. `"Build processing error"` Besides some basics like checking if we were actually sending valid JSON that gives us absolutely nothing to work with.
22 lines
862 B
Bash
Executable File
22 lines
862 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
# shellcheck source=/dev/null
|
|
source "${CI_DIR}/common.sh"
|
|
|
|
rm -rf "${HOME}/.luarocks"
|
|
mkdir "${HOME}/.luarocks"
|
|
cp "${CI_BUILD_DIR}/install/etc/luarocks/config.lua" "${HOME}/.luarocks/config.lua"
|
|
echo "wrap_bin_scripts = false" >>"$HOME/.luarocks/config.lua"
|
|
travis_retry luarocks --local install luafilesystem
|
|
# for verbose_print module
|
|
travis_retry luarocks --local install ansicolors
|
|
travis_retry luarocks --local install busted 2.0.rc12-1
|
|
#- mv -f $HOME/.luarocks/bin/busted_bootstrap $HOME/.luarocks/bin/busted
|
|
travis_retry luarocks --local install luacheck
|
|
travis_retry luarocks --local install lanes # for parallel luacheck
|
|
|
|
# used only on master branch but added to cache for better speed
|
|
travis_retry luarocks --local install ldoc
|
|
travis_retry luarocks --local install luacov
|