From f11d66b4eebabe1518a21605764d1697da89b68f Mon Sep 17 00:00:00 2001
From: vermeul <swen@ethz.ch>
Date: Wed, 25 Sep 2019 10:40:28 +0200
Subject: [PATCH] use latest python 3.7

---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f61c2ab..18ecfd2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,23 +6,27 @@ stages:
     - pypi_upload
 
 before_script:
+    - pyenv local $(latest_python 3.7)
     - pip install -U pip setuptools
     - pip install tox
 
 tests:
     script:
+        - pyenv local $(latest_python 3.7)
         - tox -r -vv -e py37
     stage: tests
     allow_failure: true
 
 style:
     script:
+        - pyenv local $(latest_python 3.7)
         - tox -r -vv -e flake8
     allow_failure: true
     stage: style
 
 pypi_test:
     script:
+        - pyenv local $(latest_python 3.7)
         - python setup.py sdist
         - twine upload -u openbis-team -p 4z2-3oZ-rFK-YNh --repository-url https://test.pypi.org/legacy/ dist/*
     when: manual
-- 
GitLab