[gnome-music] Add a minimal gitlab_ci file



commit 729cf4b2fe022bef07d2a5804e706ca0bfc00ea2
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Sep 21 17:41:29 2015 +0200

    Add a minimal gitlab_ci file

 .gitlab-ci.yml |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..049b599
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,39 @@
+image: fedora:rawhide
+stages:
+  - check
+  - build
+  - deploy
+
+variables:
+  DEPENDENCIES: python3 gobject-introspection-devel gtk3-devel libmediaart-devel grilo-devel
+
+build:
+  stage: build
+  script:
+    - dnf update -y && dnf install -y $DEPENDENCIES
+    - git submodule update --init
+    - ./autogen.sh
+    - make
+
+deploy:
+  stage: deploy
+  script:
+    - dnf update -y && dnf install -y $DEPENDENCIES
+    - git submodule update --init
+    - ./autogen.sh
+    - make distcheck
+  only:
+    - tags
+
+pyflakes:
+  stage: check
+  script:
+    - dnf update -y && dnf install -y python3-pyflakes
+    - python3-pyflakes .
+
+pep8:
+  stage: check
+  script:
+    - dnf update -y && dnf install -y python3-pep8
+    - python3-pep8 --ignore=E501,E225,E265,E402 --show-source --show-pep8 .
+  allow_failure: true
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]