Speed up drone check (#1324)
All checks were successful
continuous-integration/drone/push Build is passing

reduce clone depth to minimum

migrate to drone 1.x syntax

Co-authored-by: max.mehl <max.mehl@fsfe.org>
This commit was merged in pull request #1324.
This commit is contained in:
2020-04-24 11:47:31 +02:00
parent a4122f5bc6
commit 0a676763eb

View File

@@ -1,6 +1,13 @@
pipeline:
syntaxcheck:
kind: pipeline
type: docker
name: default
clone:
depth: 1
steps:
- name: syntaxcheck
image: vsasyan/xmllint
commands:
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
- bash tools/check-non-en-frontpage.sh news
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
- bash tools/check-non-en-frontpage.sh news