From 5404251732a0f5cd540de61dfe49346c4c0e1929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 17 May 2021 13:22:19 -0500 Subject: [PATCH] Add drone CI support --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..68bc6f5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +name: default + +steps: +- name: alpine + image: alpine:3.13.5 + commands: + - apk update + - apk add musl-locales openjdk11 py3-pip make + - pip3 install babel beautifulsoup4 html5validator markdown pelican css-html-js-minify + - export LANG=es_ES.UTF-8 LANGUAGE=es_ES + - (cd libretube-theme/ && make compile) + - cp -v Makefile.example Makefile + - make validate + +- name: debian + image: debian:bullseye + 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 css-html-js-minify + - export LANG=es_ES.UTF-8 LANGUAGE=es_ES + - (cd libretube-theme/ && make compile) + - cp -v Makefile.example Makefile + - make validate