Added cache to Gitlab CI dev-tf
authorThierry Florac <tflorac@ulthar.net>
Fri, 22 Nov 2019 19:20:22 +0100
branchdev-tf
changeset 411 6093753eed87
parent 409 b403001b58c4
child 412 dc8409ffca8c
Added cache to Gitlab CI
.gitlab-ci.yml
--- a/.gitlab-ci.yml	Fri Nov 22 18:52:19 2019 +0100
+++ b/.gitlab-ci.yml	Fri Nov 22 19:20:22 2019 +0100
@@ -5,11 +5,19 @@
     - dist
     - quality
 
+cache:
+    paths:
+        - venv/
+
 before_script:
     - export http_proxy=http://172.17.0.1:3128/
     - export HTTP_PROXY=http://172.17.0.1:3128/
     - export https_proxy=http://172.17.0.1:3128/
     - export HTTPS_PROXY=http://172.17.0.1:3128/
+    - python -V
+    - pip install virtualenv
+    - virtualenv venv
+    - source venv/bin/activate
 
 bootstrap:
     stage: .pre