From: Petr Štetiar Date: Thu, 20 Aug 2020 06:40:57 +0000 (+0200) Subject: ci: pre-build with Python 3.6 as well X-Git-Tag: v3.0.0~30 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=ed558d8b1dd8cadf233f43f846da6a6dca23aa6d;p=web%2Ffirmware-selector-openwrt-org.git ci: pre-build with Python 3.6 as well In order to spot possible compatibility issues before testing stage. Signed-off-by: Petr Štetiar --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9356e56..a7c5a87 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,9 +23,9 @@ check HTML, CSS and SVG with html5validator: script: - html5validator --root www --also-check-css --also-check-svg --show-warnings --log INFO -build site on Python 3.8: +.build python: stage: pre-build - image: python:3.8-slim-buster + image: python:$CI_PYTHON_VERSION-slim-buster before_script: - apt-get update; apt-get install -y make script: @@ -37,6 +37,16 @@ build site on Python 3.8: paths: - build +build site on Python 3.6: + extends: .build python + variables: + CI_PYTHON_VERSION: "3.6" + +build site on Python 3.8: + extends: .build python + variables: + CI_PYTHON_VERSION: "3.8" + test site with selenium: stage: test image: selenium/standalone-firefox:latest