summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-25 10:50:30 +0200
committerGeorgios Andreadis <info@gandreadis.com>2020-06-25 10:50:30 +0200
commite513105a801a10b861b7f6e8664c1c902002a4c5 (patch)
treea133ae3a34d677c94433dd13fe9db8d69d591ec3 /.gitlab-ci.yml
parent4f75791f1a92c6993dbb65bee66f9aae6725bd92 (diff)
Add pylint
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..ace10a04
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+stages:
+ - build
+ - static-analysis
+ - test
+
+build:
+ stage: build
+ script:
+ - apt-get update -qy
+ - apt-get install -y python-dev python-pip
+ - python --version
+ - python setup.py install
+
+static-analysis:
+ stage: static-analysis
+ allow_failure: true
+ script:
+ - pylint opendc
+
+test:
+ stage: test
+ script:
+ - pytest