summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-01-13 16:04:22 +0100
committermathieui <mathieui@mathieui.net>2018-01-13 16:04:22 +0100
commit75efa4eaafc90b74bdf40b9b4098abe698581944 (patch)
treef9de312b9a77d160d66f707193da30d9c764d359
parent675e016a788cba1a329c7c389cfd55114e9bb6aa (diff)
downloadpoezio-75efa4eaafc90b74bdf40b9b4098abe698581944.tar.gz
poezio-75efa4eaafc90b74bdf40b9b4098abe698581944.tar.bz2
poezio-75efa4eaafc90b74bdf40b9b4098abe698581944.tar.xz
poezio-75efa4eaafc90b74bdf40b9b4098abe698581944.zip
Fix gitlab-ci yaml
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7bd23774..e504d301 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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'"