-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
49 lines (42 loc) · 930 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
image: "lehmannka/f12:testing"
variables:
GIT_SUBMODULE_STRATEGY: "recursive"
stages:
- "tests"
- "reports"
before_script:
- "autoreconf --install"
- "./configure --enable-beautify --enable-coverage"
- "make"
style-check:
script:
- "make beautify"
- "git diff --exit-code"
stage: "tests"
unit-tests:
script:
- "make check || (cat test-suite.log && exit 1)"
stage: "tests"
variables:
GCOV_PREFIX: "/tmp/unit-tests"
bats:
artifacts:
paths:
- "valgrind.tap"
script:
- "/usr/local/bin/bats --tap tests/functional.bats"
- "make coverage-report"
stage: "tests"
variables:
TMP_DIR: "/tmp/bats"
VALGRIND: "1"
VALGRIND_TAP: "valgrind.tap"
valgrind-log:
dependencies:
- "bats"
script:
- "cat valgrind.tap"
stage: "reports"
when: "on_failure"
...