diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..21cf9b66e4cd5f7e4c7fc41273681769bdb65601
--- /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
+