You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
637 B
YAML
27 lines
637 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
clone:
|
|
depth: 150
|
|
|
|
steps:
|
|
- name: checks
|
|
image: nixery.dev/shell/git/libxml2/gnused/gnugrep/findutils/perl/file/mediainfo/curl:latest
|
|
commands:
|
|
# Check whether non-EN news item would appear on front-page
|
|
- bash tools/check-non-en-frontpage.sh news
|
|
# Run pre-commit checks
|
|
- bash tools/githooks/pre-commit ci-pr
|
|
# Check syntax for all files as a safety net
|
|
- find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} +
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
- test
|
|
event:
|
|
- push
|
|
- pull_request
|