.gitlab-ci.yml 640 B

12345678910111213141516171819
  1. image: debian:bullseye
  2. before_script:
  3. - apt-get update -y
  4. - apt-get install -y locales openjdk-11-jre python3-pip
  5. - sed -i 's/# \(es_ES.UTF-8 UTF-8\)/\1/' /etc/locale.gen
  6. - sed -i 's/# \(en_US.UTF-8 UTF-8\)/\1/' /etc/locale.gen
  7. - sed -i 's/# \(eo.UTF-8 UTF-8\)/\1/' /etc/locale.gen
  8. - sed -i 's/# \(fr_FR.UTF-8 UTF-8\)/\1/' /etc/locale.gen
  9. - dpkg-reconfigure --frontend=noninteractive locales
  10. - pip3 install babel beautifulsoup4 html5validator markdown pelican css-html-js-minify
  11. - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
  12. test:
  13. script:
  14. - (cd libretube-theme/ && make compile)
  15. - cp -v Makefile.example Makefile
  16. - make validate