From: Anton Yuzhaninov Date: Thu, 18 Oct 2018 21:06:54 +0000 (-0400) Subject: Add tidyall checks for perl code X-Git-Tag: 1.8.2~190^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4914e8b86dd0d0ee0799cb4f7d52ff44de33a175;p=thirdparty%2Frspamd.git Add tidyall checks for perl code Based on analagous check added to CircleCI: https://github.com/rspamd/rspamd/commit/9ace1e0519bda09def77746c22ce952824074980 --- diff --git a/.drone.yml b/.drone.yml index 98bd725627..732bec96bd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,6 +35,14 @@ pipeline: - ./node_modules/.bin/eslint -v - ./node_modules/.bin/eslint ./ + # Run checks on perl source using tidyall + perl-tidyall: + # https://github.com/rspamd/rspamd-build-docker/blob/master/perl-tidyall/Dockerfile + image: rspamd/ci-perl-tidyall + group: build + commands: + - tidyall --all --root-dir /rspamd/src --check-only --no-cache --data-dir /tmp/tidyall + rspamd-test: # https://github.com/rspamd/rspamd-build-docker/blob/master/ubuntu-test/Dockerfile image: rspamd/ci-ubuntu-test