[drone-ci]: remove pip and add virtualenv in debian

This commit is contained in:
Jesús 2021-12-25 15:51:47 -05:00
parent 8d4cd96ebf
commit d47a3e25af
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -7,7 +7,7 @@ steps:
commands: commands:
- export SHELL=/bin/bash # hack custom shell - export SHELL=/bin/bash # hack custom shell
- apk update - apk update
- apk add musl-locales openjdk11 py3-pip make py3-virtualenv - apk add musl-locales openjdk11 make py3-virtualenv
- 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
@ -21,7 +21,7 @@ steps:
commands: commands:
- export SHELL=/bin/bash # hack custom shell - export SHELL=/bin/bash # hack custom shell
- apt-get update -y - apt-get update -y
- apt-get install -y locales openjdk-11-jre python3-pip - apt-get install -y locales openjdk-11-jre virtualenv
- 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