run_lint.sh 657 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/usr/bin/env bash
  2. set -e
  3. set -o pipefail
  4. CI_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  5. source "${CI_DIR}/common/build.sh"
  6. source "${CI_DIR}/common/suite.sh"
  7. enter_suite 'clint'
  8. run_test 'make clint-full' clint
  9. exit_suite --continue
  10. enter_suite 'lualint'
  11. run_test 'make lualint' lualint
  12. exit_suite --continue
  13. enter_suite 'pylint'
  14. run_test 'make pylint' pylint
  15. exit_suite --continue
  16. enter_suite 'shlint'
  17. run_test 'make shlint' shlint
  18. exit_suite --continue
  19. enter_suite single-includes
  20. CLICOLOR_FORCE=1 run_test_wd \
  21. --allow-hang \
  22. 10s \
  23. 'make check-single-includes' \
  24. 'csi_clean' \
  25. single-includes
  26. exit_suite --continue
  27. end_tests