[vala/wip/ci: 345/346] ci: Add .gitlab-ci.yml
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/ci: 345/346] ci: Add .gitlab-ci.yml
- Date: Thu, 22 Nov 2018 15:58:52 +0000 (UTC)
commit 5ca739ec3c51e4eb153cd75e468540e1e639d60f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue May 22 20:24:49 2018 +0200
ci: Add .gitlab-ci.yml
Deploy coverage reports for master branch
.gitlab-ci.yml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..5b252520c
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,34 @@
+image: fedora:rawhide
+
+stages:
+ - build
+ - deploy
+
+fedora-x86_64:
+ stage: build
+ before_script:
+ - dnf install -y autoconf automake bison dbus-x11 flex gcc glib2-devel gobject-introspection-devel
graphviz-devel lcov libxslt make vala
+ script:
+ - ./autogen.sh --enable-coverage --disable-dependency-tracking
+ - make -j8
+ - make -j8 check
+ - make -j8 coverage-report
+ cache:
+ key: ${CI_COMMIT_REF_SLUG}
+ paths:
+ - coverage
+ except:
+ - tags
+
+pages:
+ stage: deploy
+ script:
+ - mv coverage/ public/
+ cache:
+ key: ${CI_COMMIT_REF_SLUG}
+ artifacts:
+ paths:
+ - public
+ expire_in: 1 week
+# only:
+# - master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]