mirror of
https://github.com/koreader/koreader
synced 2024-11-13 19:11:25 +00:00
9d39f11f59
* Travis: speed up by caching base and running luacheck earlier * ignore bin and install for git status change detection * skip coverage except on official master branch. It adds 3 whole minutes and does nothing to prevent regressions * also cache ~/.luarocks. It evens out but would generally prevent remote timeout shenenigans * remove base cache dir before caching with verbose remove to see what's going on * more inclusive shell code quality analysis * fixed more shellcheck issues * better shellcheck/shfmt debugging info
19 lines
487 B
Bash
Executable File
19 lines
487 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"
|
|
|
|
echo -e "\n${ANSI_GREEN}make fetchthirdparty"
|
|
travis_retry make fetchthirdparty
|
|
|
|
"${CI_DIR}/helper_shellchecks.sh"
|
|
|
|
echo -e "\n${ANSI_GREEN}Luacheck results"
|
|
luajit "$(which luacheck)" --no-color -q {reader,setupkoenv,datastorage}.lua frontend plugins
|
|
|
|
echo -e "\n${ANSI_GREEN}make all"
|
|
make all
|
|
echo -e "\n${ANSI_GREEN}make testfront"
|
|
make testfront
|