From 74fb07b30208bf26e1aa467b9167ea94bd79bbeb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 17 May 2018 13:39:14 +0200 Subject: [PATCH] gitlab-ci: switch pyup_io_safety_check to Alpine to be lighter --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2dbea825..3cbb4b08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -122,11 +122,13 @@ pip_install: - fdroid update --help pyup_io_safety_check: - image: archlinux/base + image: alpine:3.7 + variables: + LANG: C.UTF-8 script: - - pacman --sync --sysupgrade --refresh --noconfirm grep python-pip python-virtualenv tar - - ./setup.py compile_catalog install - - pip install safety + - apk add --no-cache ca-certificates python3 + - python3 -m ensurepip + - pip3 install safety - safety check --full-report pylint: