modified: .gitlab-ci.yml

This commit is contained in:
Lukáš Krupčík 2018-10-03 08:11:55 +02:00
parent 96879c8591
commit 107d2fa162

View File

@ -26,7 +26,7 @@ python_check:
image: davidhrbac/docker-pycheck:latest
script:
- which autopep8 || pip install autopep8
- which git || apt update && apt install git
- which git || apt update && apt install -y git
- for i in `git show HEAD | egrep "new file|modified" | grep ".eb" | cut -d ":" -f 2 | cut -d " " -f 4`; do echo $i; autopep8 --in-place --aggressive --aggressive "$i"; done
only:
- master