[gedit-plugins/ci] Static analysis
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/ci] Static analysis
- Date: Mon, 16 Dec 2019 20:22:13 +0000 (UTC)
commit e5eef42e400303a2b6aaf2d63de44a78ce081b98
Author: Jordi Mas <jmas softcatala org>
Date: Mon Dec 16 21:22:06 2019 +0100
Static analysis
.gitlab-ci.yml | 17 +++++++++++++++++
.gitlab-ci.yml.old | 35 -----------------------------------
2 files changed, 17 insertions(+), 35 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..e2691b6
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,17 @@
+image: ubuntu:devel
+
+stages:
+ - static_analysis
+
+static_analysis:
+ stage: build
+ before_script:
+ - export DEBIAN_FRONTEND=noninteractive
+ - apt-get update -y
+ - apt-get install python3 python3-pip python3-dbus -y
+ - python3 -m pip install flake8
+
+ script:
+ - cd plugins
+ - flake8 --select=F --ignore=F401,F841
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]