1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

use actually working bandit version when running tests on alpine

This commit is contained in:
Michael Pöhn 2019-05-24 23:14:20 +02:00
parent f434670ba5
commit 716f84ec5e

View File

@ -126,7 +126,7 @@ lint_format_safety_bandit_checks:
script:
- apk add --no-cache bash dash ca-certificates python3
- python3 -m ensurepip
- pip3 install Babel bandit pycodestyle pyflakes 'pylint<2.0' safety
- pip3 install Babel 'bandit<1.6.0' pycodestyle pyflakes 'pylint<2.0' safety
- export EXITVALUE=0
- ./hooks/pre-commit || export EXITVALUE=1
- bandit