From 9e8e67177faf7f723f5971ad71b1284ed5175b76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20M=C3=B6bius?= <moebius@cs.rwth-aachen.de>
Date: Mon, 7 Mar 2022 10:46:22 +0100
Subject: [PATCH] Removed python2.7 builds and changed python 3.7 to 3.9 builds

---
 .gitlab-ci.yml | 68 ++++++++++----------------------------------------
 1 file changed, 13 insertions(+), 55 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f705e8..0e27c9f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,8 +19,8 @@ build-3.7-VS2017:
   artifacts:
     paths:
       - dist3/
-
-build-3.7-linux:
+      
+build-3.9-linux:
   stage:
     build
   tags:
@@ -28,12 +28,12 @@ build-3.7-linux:
   variables:
     GIT_SUBMODULE_STRATEGY: recursive
   script:
-    - virtualenv -p python3.7 .
+    - virtualenv -p python3.9 .
     - source bin/activate
     - python setup.py bdist_wheel --dist-dir dist3
   artifacts:
     paths:
-      - dist3/
+      - dist3/      
 
 build-3.5-macos:
   stage:
@@ -51,21 +51,6 @@ build-3.5-macos:
     paths:
       - dist3/
 
-build-2.7-linux:
-  stage:
-    build
-  tags:
-    - Linux
-  variables:
-    GIT_SUBMODULE_STRATEGY: recursive
-  script:
-    - virtualenv -p python2.7 .
-    - source bin/activate
-    - python setup.py bdist_wheel --dist-dir dist2
-  artifacts:
-    paths:
-      - dist2/
-
 build-2.7-macos:
   stage:
     build
@@ -92,19 +77,20 @@ test-3.7-VS2017:
     - build-3.7-VS2017
   script: "CI\\test-3.7-VS2017.bat"
 
-test-3.7-linux:
+    
+test-3.9-linux:
   stage:
     test
   tags:
     - Linux
   dependencies:
-    - build-3.7-linux
+    - build-3.9-linux
   script:
-    - virtualenv -p python3.7 .
+    - virtualenv -p python3.9 .
     - source bin/activate
     - pip install dist3/*.whl
     - cd tests
-    - python -m unittest discover
+    - python -m unittest discover    
 
 test-3.5-macos:
   stage:
@@ -121,20 +107,6 @@ test-3.5-macos:
     - cd tests
     - python -m unittest discover
 
-test-2.7-linux:
-  stage:
-    test
-  tags:
-    - Linux
-  dependencies:
-    - build-2.7-linux
-  script:
-    - virtualenv -p python2.7 .
-    - source bin/activate
-    - pip install dist2/*.whl
-    - cd tests
-    - python -m unittest discover
-
 test-2.7-macos:
   stage:
     test
@@ -162,20 +134,20 @@ deploy-3.7-VS2017:
   artifacts:
     paths:
       - release/*.whl
-
-deploy-3.7-linux:
+     
+deploy-3.9-linux:
   stage:
     deploy
   tags:
     - Linux
   dependencies:
-    - build-3.7-linux
+    - build-3.9-linux
   script:
     - mkdir release
     - cp dist3/*.whl release
   artifacts:
     paths:
-      - release/*.whl
+      - release/*.whl      
 
 deploy-3.5-macos:
   stage:
@@ -191,20 +163,6 @@ deploy-3.5-macos:
     paths:
       - release/*.whl
 
-deploy-2.7-linux:
-  stage:
-    deploy
-  tags:
-    - Linux
-  dependencies:
-    - build-2.7-linux
-  script:
-    - mkdir release
-    - cp dist2/*.whl release
-  artifacts:
-    paths:
-      - release/*.whl
-
 deploy-2.7-macos:
   stage:
     deploy
-- 
GitLab