[meld] New gitlab CI config with lint and test configurations
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] New gitlab CI config with lint and test configurations
- Date: Sun, 31 Dec 2017 20:17:21 +0000 (UTC)
commit e67af13dadeb4f9688d4fa96ea5d92337c8f1039
Author: Kai Willadsen <kai willadsen gmail com>
Date: Mon Jan 1 06:11:15 2018 +1000
New gitlab CI config with lint and test configurations
.gitlab-ci.yml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..1cbd141d
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,28 @@
+image: fedora:rawhide
+stages:
+ - check
+ - build
+
+variables:
+ DEPENDENCIES: python3 pygobject3 gobject-introspection
+ python3-gobject gtk3 gtksourceview3
+
+flake8:
+ stage: check
+ script:
+ - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
+ - pip3 install -r dev-requirements.txt
+ - flake8 meld/
+ allow_failure: true
+
+pytest:
+ stage: check
+ script:
+ - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES python3-pytest
+ - py.test-3 test/
+
+build:
+ stage: build
+ script:
+ - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
+ - python3 setup.py build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]