]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Fix: tidyall expects to find .tidyallrc in --root-dir 2601/head
authorAnton Yuzhaninov <citrin+git@citrin.ru>
Thu, 18 Oct 2018 21:35:30 +0000 (17:35 -0400)
committerAnton Yuzhaninov <citrin+git@citrin.ru>
Thu, 18 Oct 2018 21:35:30 +0000 (17:35 -0400)
.drone.yml

index 732bec96bdcbeaeea193a693c41dac4ed888c40d..9c1b5d09a97a54e4730d59a16ad5d92fa12758fd 100644 (file)
@@ -41,7 +41,8 @@ pipeline:
     image: rspamd/ci-perl-tidyall
     group: build
     commands:
-      - tidyall --all --root-dir /rspamd/src --check-only --no-cache --data-dir /tmp/tidyall
+      # checks are configured in .tidyallrc at the top of rspamd repo
+      - tidyall --all --root-dir $CI_WORKSPACE --check-only --no-cache --data-dir /tmp/tidyall
 
   rspamd-test:
     # https://github.com/rspamd/rspamd-build-docker/blob/master/ubuntu-test/Dockerfile