summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: ca88de2587b4ba3a5493523f9c7d8f7e91a403b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: debian:buster

before_script:
  - apt-get update -qq
  - apt-get install -qq -y --no-install-recommends
            git gcc make autoconf automake libtool libmd-dev gcovr

unit-tests:
  stage: test
  script:
    - ./autogen && ./configure
    - make check

coverage:
  stage: test
  script:
    - ./autogen && ./configure --disable-static
    - make check CFLAGS="--coverage -O0 -ggdb" LDFLAGS="--coverage -O0 -ggdb"
    - gcovr -s -e test/