diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25d2e11c..3832c933 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -138,9 +138,9 @@ lint_format_safety_bandit_checks: variables: LANG: C.UTF-8 script: - - apk add --no-cache bash dash ca-certificates python3 + - apk add --no-cache bash build-base dash ca-certificates gcc python3 python3-dev - python3 -m ensurepip - - $pip install Babel 'bandit<1.6.0' pycodestyle pyflakes 'pylint<2.0' safety + - $pip install Babel 'bandit<1.6.0' pycodestyle pyflakes pylint safety - export EXITVALUE=0 - function set_error() { export EXITVALUE=1; printf "\x1b[31mERROR `history|tail -2|head -1|cut -b 6-500`\x1b[0m\n"; } - ./hooks/pre-commit || set_error