[drone-ci]: add hacks
This commit is contained in:
parent
65799536f1
commit
d62fd61202
@ -5,8 +5,9 @@ steps:
|
|||||||
- name: hyperbola
|
- name: hyperbola
|
||||||
image: rusian/hyperbola:0.4
|
image: rusian/hyperbola:0.4
|
||||||
commands:
|
commands:
|
||||||
|
- export SHELL=/bin/bash # hack custom shell
|
||||||
- pacman -Syu --noconfirm
|
- pacman -Syu --noconfirm
|
||||||
- pacman -S python-virtualenv python-setuptools --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|^# 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|^# 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|^# eo UTF-8|eo UTF-8|g' -i /etc/locale.gen
|
||||||
@ -15,10 +16,11 @@ steps:
|
|||||||
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
- export LANG=es_ES.UTF-8 LANGUAGE=es_ES
|
||||||
- virtualenv -p python3 venv
|
- virtualenv -p python3 venv
|
||||||
- source venv/bin/activate
|
- source venv/bin/activate
|
||||||
|
- rm -f /usr/bin/lsb_release # hack fix python-distro
|
||||||
- pip install -U -r requirements.txt
|
- pip install -U -r requirements.txt
|
||||||
- (cd cl-theme/ && make compile)
|
- (cd cl-theme/ && make compile)
|
||||||
- cp -v Makefile.example Makefile
|
- cp -v Makefile.example Makefile
|
||||||
- make validate
|
- make html # make validate disable because java no is present on Hyperbola
|
||||||
|
|
||||||
- name: alpine
|
- name: alpine
|
||||||
image: alpine:3.13.7
|
image: alpine:3.13.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user