From 621e56cabb1bbb701ae5ec5d91c97d0f371a9a27 Mon Sep 17 00:00:00 2001
From: Yan Grange <12-grange@users.noreply.git.astron.nl>
Date: Fri, 30 Apr 2021 20:03:52 +0000
Subject: [PATCH] Add .gitlab-ci.yml

---
 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..21cf9b6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,13 @@
+# This file is a template, and might need editing before it works on your project.
+# Full project: https://gitlab.com/pages/plain-html
+validate-pages:
+  stage: test
+  before_script:
+    - mkdir ~/validator
+    - apk add git python2 curl
+  script:
+    - >
+      for file in $(ls *.htm*); do
+          curl -H "Content-Type: text/html; charset=utf-8" --data-binary @$file https://validator.nu/?out=json
+       done
+
-- 
GitLab