summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
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