summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-25 13:36:28 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-25 13:36:28 +0200
commitc60b4ad9f2fc987121c6de8489dc073ae989dcde (patch)
tree5bc7bbcf08a7fdfabe532a18fe0fff2b43533bf6 /.gitlab-ci.yml
parent7edc1d91693abc142d17c652e311edb1ca9fafdf (diff)
Change CI setup
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 8 insertions, 8 deletions
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