.drone.yml 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: alpine
  5. image: alpine:3.13.5
  6. commands:
  7. - apk update
  8. - apk add musl-locales openjdk11 py3-pip make
  9. - pip3 install babel beautifulsoup4 html5validator markdown pelican
  10. - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
  11. - (cd cl-theme/ && make compile)
  12. - cp -v Makefile.example Makefile
  13. - make validate || true
  14. - name: debian
  15. image: debian:buster
  16. commands:
  17. - apt-get update -y
  18. - apt-get install -y locales openjdk-11-jre python3-pip
  19. - sed -e 's|^# es_ES.UTF-8 UTF-8|es_ES.UTF-8 UTF-8|g' -i /etc/locale.gen
  20. - sed -e 's|^# en_US.UTF-8 UTF-8|en_US.UTF-8 UTF-8|g' -i /etc/locale.gen
  21. - sed -e 's|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
  22. - sed -e 's|^# fr_FR.UTF-8 UTF-8|fr_FR.UTF-8 UTF-8|g' -i /etc/locale.gen
  23. - dpkg-reconfigure --frontend=noninteractive locales
  24. - pip3 install babel beautifulsoup4 html5validator markdown pelican
  25. - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
  26. - (cd cl-theme/ && make compile)
  27. - cp -v Makefile.example Makefile
  28. - make validate || true