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

Frediano Ziglio fziglio at redhat.com
Tue Nov 1 13:06:26 UTC 2016


> 
> Signed-off-by: Pavel Grunt <pgrunt at redhat.com>

Do you have some gitlab result logs for this?

Frediano

> ---
> 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



More information about the Spice-devel mailing list