From d9f725a57c377a3c48186e63610b2577e47a2ec9 Mon Sep 17 00:00:00 2001
From: vtexier <vit@free.fr>
Date: Thu, 30 May 2019 11:52:10 +0200
Subject: [PATCH] [fix] #54 fix gitlab ci to install python 3.6.8 with pyenv

fixme: python version should be pre installed in docker image
---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5326995..f5b59478 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,6 +35,8 @@ push_to_github:
     - export PYENV_ROOT="$HOME/.pyenv"
     - export PATH="$PYENV_ROOT/bin:$PATH"
     - eval "$(pyenv init -)"
+    # fixme: pre-install python version in docker image to gain speed
+    - pyenv install $PYENV_PYTHON_VERSION
     - pyenv shell $PYENV_PYTHON_VERSION
 
 .changes: &changes
-- 
GitLab