From 21b5f3987c7975d81bae5f8d5ef2e34e19df16d9 Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <ansgar.burchardt@tu-dresden.de>
Date: Wed, 22 May 2019 15:08:58 +0200
Subject: [PATCH] .gitlab-ci.yml: require Python 3

Python 2's include files still contain the `register` keyword which is no longer allowed in C++17; using it is an error for clang.
---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9a595390..d2b08a41 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,7 @@
 ---
+variables:
+  DUNECI_CMAKE_FLAGS: "-DDUNE_PYTHON_FORCE_PYTHON3=TRUE"
+
 before_script:
   - duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-matrix-vector.git
   - duneci-install-module https://git.imp.fu-berlin.de/agnumpde/dune-solvers.git
-- 
GitLab