diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-18 17:06:54 -0400 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-18 17:06:54 -0400 |
commit | 4914e8b86dd0d0ee0799cb4f7d52ff44de33a175 (patch) | |
tree | dfe72801c1a3c22646d0b606f34436d65d55e566 /.drone.yml | |
parent | 04fe3d3f7cad8603328788bd76947e97e9318cd9 (diff) | |
download | rspamd-4914e8b86dd0d0ee0799cb4f7d52ff44de33a175.tar.gz rspamd-4914e8b86dd0d0ee0799cb4f7d52ff44de33a175.zip |
Add tidyall checks for perl code
Based on analagous check added to CircleCI:
https://github.com/rspamd/rspamd/commit/9ace1e0519bda09def77746c22ce952824074980
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 8 |
1 files changed, 8 insertions, 0 deletions
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 |