summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 5b43beb84e0a9c917e30db219ff2d816e5345e48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
image: debian:bullseye

before_script:
- apt-get update -y
- apt-get install -y locales openjdk-11-jre python3-pip
- sed -i 's/# \(es_ES.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- sed -i 's/# \(en_US.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- sed -i 's/# \(eo.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- sed -i 's/# \(fr_FR.UTF-8 UTF-8\)/\1/' /etc/locale.gen
- dpkg-reconfigure --frontend=noninteractive locales
- pip3 install babel beautifulsoup4 html5validator markdown pelican css-html-js-minify
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES

test:
  script:
    - (cd libretube-theme/ && make compile)
    - cp -v Makefile.example Makefile
    - make validate