aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
blob: 35bf19e72ab74cef36a52d292d51e180c76480f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
kind: pipeline
name: default

steps:
- name: test
  image: debian:bullseye
  commands:
    - apt update -y
    - apt install -y locales openjdk-11-jre python3-pip
    - sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
    - sed -e 's|^# en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|g' -i /etc/locale.gen
    - sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
    - sed -e 's|^# fr_FR.UTF-8 UTF-8|fr_FR.UTF-8 UTF-8|g' -i /etc/locale.gen
    - dpkg-reconfigure --frontend=noninteractive locales
    - pip3 install babel beautifulsoup4 html5validator markdown pelican
    - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
    - (cd cl-theme/ && make compile)
    - cp -v Makefile.example Makefile
    - make validate