From d4d69a6ba055880e4ed91cea28469be30d9bd0f5 Mon Sep 17 00:00:00 2001
From: Lars Beckers <lars.beckers@rwth-aachen.de>
Date: Sat, 22 Feb 2020 18:50:45 +0100
Subject: [PATCH] add CI configuration

---
 .flake8        |  2 ++
 .gitlab-ci.yml | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 .flake8
 create mode 100644 .gitlab-ci.yml

diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..6deafc2
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,2 @@
+[flake8]
+max-line-length = 120
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..f713d55
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+---
+
+image: registry.git.fsmpi.rwth-aachen.de/infra/ci-containers/fsmpi-python:buster
+
+before_script:
+  - export LANG=en_US.UTF-8
+
+stages:
+  - test
+
+test:
+  stage: test
+  script:
+    - "python3 -m py_compile *.py"
+    - flake8 .
-- 
GitLab