From 4914e8b86dd0d0ee0799cb4f7d52ff44de33a175 Mon Sep 17 00:00:00 2001 From: Anton Yuzhaninov Date: Thu, 18 Oct 2018 17:06:54 -0400 Subject: [PATCH] Add tidyall checks for perl code Based on analagous check added to CircleCI: https://github.com/rspamd/rspamd/commit/9ace1e0519bda09def77746c22ce952824074980 --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index 98bd72562..732bec96b 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 -- 2.39.5