[drone.yml]: improve syntax

This commit is contained in:
Jesús 2021-05-09 16:32:37 -05:00
parent 114c5f4ef3
commit ca3c3a4a92
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -5,15 +5,15 @@ steps:
- name: test
image: debian:buster
commands:
- apt-get update -y
- apt-get 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
- apt-get update -y
- apt-get 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