[Spice-devel] [PATCH spice v2 3/3] Add .gitlab-ci.yml

Pavel Grunt pgrunt at redhat.com
Tue Nov 1 11:02:45 UTC 2016


Signed-off-by: Pavel Grunt <pgrunt at redhat.com>
---
v2: added test for RED_STATISTICS
---
 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b3996c8
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+image: fedora:latest
+
+before_script:
+  - dnf install 'dnf-command(copr)' git libtool make -y 
+  - dnf copr enable @spice/nightly -y
+  - dnf builddep spice -y
+
+makecheck:
+  script:
+  - ./autogen.sh
+  - make
+  - make -C server check
+
+RED_STATISTICS:
+  script:
+  - CFLAGS="$CFLAGS -DRED_STATISTICS " ./autogen.sh
+  - make
+  - make -C server check
-- 
2.10.1



More information about the Spice-devel mailing list