-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
40 lines (33 loc) · 828 Bytes
/
.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
language: c
os:
- linux
dist: jammy
if: NOT tag = stable
addons:
apt:
packages:
- lcov
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then ./.travis_install_linux.sh ; fi
script:
- cd src
# Separate coverage for unittest to Codecov
- make COVERAGE=--coverage unit
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
bash <(curl -s https://codecov.io/bash) -X gcovout ;
fi
# Now reset coverage and run everything
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
lcov -q -z -d . ;
fi
- make ci # = unit, build & test (even slow)
- cd ..
branches:
except:
- stable
- gh_pages
- previous_stable
after_success:
- if [ "$TRAVIS_OS_NAME" = "linux" ] ; then
./.travis_after_success_linux.sh ;
fi