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

Frediano Ziglio fziglio at redhat.com
Tue Nov 1 15:18:40 UTC 2016


> 
> On Tue, 2016-11-01 at 14:12 +0100, Victor Toso wrote:
> > Hi,
> > 
> > On Tue, Nov 01, 2016 at 12:02:45PM +0100, Pavel Grunt wrote:
> > > 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:
> > 
> > I would keep all jobs names in lowercase for consistency.
> 
> statistics instead of RED_STATISTICS ?
> 

Sounds good to me.

> > 
> > > +  script:
> > > +  - CFLAGS="$CFLAGS -DRED_STATISTICS " ./autogen.sh
> > > +  - make
> > > +  - make -C server check
> > 
> > Acked-by: Victor Toso <victortoso at redhat.com>
> > 

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list