aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-06-03 15:00:17 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-06-04 16:19:49 +0200
commit5443831a5aa9d14c69836cd150b7f07d4c8e2815 (patch)
tree1c7079a8d9ea743a3089e3dfd9c74968886803b0
parent7f4715a0eb596613a71e987306ea5bf900361d6b (diff)
downloadallocbench-5443831a5aa9d14c69836cd150b7f07d4c8e2815.tar.gz
allocbench-5443831a5aa9d14c69836cd150b7f07d4c8e2815.zip
[gitlab-ci] add gitlab ci checking code style and pylint warnings
-rw-r--r--.gitlab-ci.yml11
-rw-r--r--Pipfile15
2 files changed, 25 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9e451b7..705cebc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,14 @@
image: "debian:buster-backports"
+before_script:
+ - apt update -qq
+ - >
+ apt install -y --no-install-recommends
+ gcc
+ make
+ pipenv
+ - pipenv install --dev
+
allocbench:
script:
- make check
+ pipenv run make check
diff --git a/Pipfile b/Pipfile
new file mode 100644
index 0000000..bd3e314
--- /dev/null
+++ b/Pipfile
@@ -0,0 +1,15 @@
+[[source]]
+name = "pypi"
+url = "https://pypi.org/simple"
+verify_ssl = true
+
+[dev-packages]
+yapf = "*"
+pylint = "*"
+
+[packages]
+numpy = "*"
+matplotlib = "*"
+
+[requires]
+python_version = "3.8"