summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ace10a04..73570569 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,12 @@
+image: python:latest
+
+variables:
+ PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
+
+cache:
+ paths:
+ - .cache/pip
+
stages:
- build
- static-analysis
@@ -6,8 +15,6 @@ stages:
build:
stage: build
script:
- - apt-get update -qy
- - apt-get install -y python-dev python-pip
- python --version
- python setup.py install