For the start just simple Python (black+flake8), CSS, HTML and SVG
checking with html5validator.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
--- /dev/null
+include:
+ - local: '.gitlab/ci/prebuild.yml'
+ - remote: https://gitlab.com/ynezz/openwrt-ci/raw/master/openwrt-ci/gitlab/main.yml
+
+stages:
+ - pre-build
+ - test
+
+check HTML, CSS and SVG with html5validator:
+ stage: pre-build
+ image: cyb3rjak3/html5validator:latest
+ script:
+ - html5validator --root www --also-check-css --also-check-svg --show-warnings --log INFO
--- /dev/null
+check Python scripts with black and flake8:
+ stage: pre-build
+ extends: .openwrt-pythoncheck