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

steps:
- name: hyperbola
  image: rusian/hyperbola:0.4
  commands:
    - export SHELL=/bin/bash # hack custom shell
    - pacman -Syu --noconfirm
    - pacman -S python-virtualenv python-setuptools make --noconfirm
    - 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
    - locale-gen
    - export LANG=es_ES.UTF-8 LANGUAGE=es_ES
    - virtualenv -p python3 venv
    - source venv/bin/activate
    - rm -f /usr/bin/lsb_release # hack fix python-distro
    - pip install -U -r requirements.txt
    - (cd cl-theme/ && make compile)
    - cp -v Makefile.example Makefile
    - make html # make validate disable because java no is present on Hyperbola