From dc7b60b74470676f5334a6f688cc41ee5e1ada2e Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Thu, 14 May 2020 11:59:56 -0500
Subject: [PATCH] Add .gitlab-ci.yml

---
 .gitlab-ci.yml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..8b1e2dd
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,24 @@
+image: "python:3.7"
+
+before_script:
+  - python --version
+  - pip install flake8
+  - pip install pylint
+
+stages:
+  - lint
+
+flake8:
+  tags:
+    - lint
+  stage: lint
+  script:
+    - flake8 --exclude=tests.py --max-line-length=120 *.py app
+
+pylint:
+  tags:
+    - lint
+  stage: lint
+  script:
+    - pylint --ignore=tests.py --max-line-length=120 *.py app
+
-- 
GitLab