summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-25 13:02:32 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-25 13:02:32 +0200
commit9f0827eb9499903391a0bba57c8f4ccf8df81d5e (patch)
treece9d73dda739d59adb131253d0959b9e680f4a89
parente513105a801a10b861b7f6e8664c1c902002a4c5 (diff)
Change CI setup
-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