Fix gitlab-ci yaml

This commit is contained in:
mathieui 2018-01-13 16:04:22 +01:00
parent 675e016a78
commit 75efa4eaaf
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -52,4 +52,4 @@ formatting-check:
image: poezio/test-base:latest
script:
- pip3 install yapf
- [ -n "$(yapf -dpr poezio)" ] && echo "yapf check failure" && exit 1
- "[ -n \"$(yapf -dpr poezio)\" ] && echo 'Formatting check failed, please run yapf' && exit 1 || echo 'Formatting check succeeded'"