forked from galantelab/sideRETRO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (43 loc) · 1.01 KB
/
.travis.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
50
51
dist: bionic
language: c
compiler: gcc
addons:
apt:
packages:
- check
- ninja-build
- python3-pip
- python3-setuptools
- valgrind
install:
- pip3 install meson==0.54.0
- pip3 install cpp-coveralls
env:
- CK_DEFAULT_TIMEOUT=0
script:
- meson -Db_coverage=true builddir
- ninja -C builddir
- meson test -C builddir
- meson test -C builddir --wrap='valgrind --leak-check=full --error-exitcode=1' -t 3
after_success:
- >
coveralls
--root .
--build-root builddir
--exclude builddir/meson-private
--exclude subprojects
--exclude tests
--exclude src/log.c
--exclude src/logger.c
--exclude src/main.c
--exclude src/make_vcf.c
--exclude src/merge_call.c
--exclude src/process_sample.c
--exclude src/sam.c
--exclude src/thpool.c
--exclude-pattern '.+\.h$'
--gcov-options '\-lp'
after_failure:
- cat builddir/meson-logs/meson-log.txt
- cat builddir/meson-logs/testlog.txt
- cat builddir/meson-logs/testlog-valgrind.txt