From b9f12ea85ed7025374b2f8c46461a42f4e752899 Mon Sep 17 00:00:00 2001
From: Nicolas MAILLET <nicolas.maillet@pasteur.fr>
Date: Thu, 12 Jul 2018 13:13:17 +0200
Subject: [PATCH] support python 3.7

---
 .gitlab-ci.yml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c514850..74ba546 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,4 +41,20 @@ test-py3.6:
   - make install
   - cd ..
   - pip3 install -r requirements.txt
-  - python3.6 -m pytest --cov rpg tests
\ No newline at end of file
+  - python3.6 -m pytest --cov rpg tests
+test-py3.7:
+  image: debian
+  stage: py37
+  script:
+  - apt-get update -qy
+  - apt-get install -y python3-pip wget zlib1g-dev
+  - apt-get install libssl-dev openssl
+  - wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz
+  - tar xzvf Python-3.7.0.tgz
+  - cd Python-3.7.0
+  - ./configure
+  - make
+  - make install
+  - cd ..
+  - pip3 install -r requirements.txt
+  - python3.7 -m pytest --cov rpg tests
\ No newline at end of file
-- 
GitLab