neovim/ci/run_lint.sh

37 lines
657 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
set -o pipefail
CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "${CI_DIR}/common/build.sh"
source "${CI_DIR}/common/suite.sh"
enter_suite 'clint'
2018-03-09 12:55:10 -07:00
run_test 'make clint-full' clint
exit_suite --continue
2017-05-25 06:50:06 -07:00
enter_suite 'lualint'
2018-03-09 12:55:10 -07:00
run_test 'make lualint' lualint
exit_suite --continue
2017-05-25 06:50:06 -07:00
enter_suite 'pylint'
run_test 'make pylint' pylint
2017-05-25 06:50:06 -07:00
exit_suite --continue
enter_suite 'shlint'
run_test 'make shlint' shlint
exit_suite --continue
enter_suite single-includes
2017-04-03 18:02:54 -07:00
CLICOLOR_FORCE=1 run_test_wd \
--allow-hang \
10s \
2018-03-09 12:55:10 -07:00
'make check-single-includes' \
2017-04-03 18:02:54 -07:00
'csi_clean' \
single-includes
exit_suite --continue
end_tests