From c60b4ad9f2fc987121c6de8489dc073ae989dcde Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 25 Jun 2020 13:36:28 +0200 Subject: Change CI setup --- .gitlab-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 53df33f9..f5253583 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,11 @@ -image: python:latest +image: "python:3.8" -#variables: -# PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" -# -#cache: -# paths: -# - .cache/pip +variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" + +cache: + paths: + - .cache/pip stages: - build @@ -16,7 +16,7 @@ build: stage: build script: - python --version - - python setup.py install + - pip install -r requirements.txt static-analysis: stage: static-analysis -- cgit v1.2.3