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

statistics:
  script:
  - CFLAGS="$CFLAGS -DRED_STATISTICS " ./autogen.sh
  - make
  - make -C server check

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 || (cat server/tests/test-suite.log && exit 1)

statistics:
  script:
  - CFLAGS="$CFLAGS -DRED_STATISTICS " ./autogen.sh
  - make
  - make -C server check || (cat server/tests/test-suite.log && exit 1)

Print results of tests on failure
ci: Print results of tests on failure

Acked-by: Frediano Ziglio <55d48b080b2e443e395cde84d2c83b135a4ff48e@redhat.com>
