-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
65 lines (56 loc) · 2.32 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: c
dist: trusty
group: edge
compiler:
- clang
- gcc-7
- gcc-8
before_install:
- sudo pip3 install meson==0.44
- git submodule init
- git submodule update
script:
- meson --buildtype=debugoptimized --unity on build/
- ninja -C build/
- cd tests
- meson build/
- meson test -C build/ -v --wrap 'valgrind --leak-check=full --error-exitcode=77' --test-args " --no-maybes --cr"
after_script:
- test -f /home/travis/build/mariusor/mpris-scrobbler/cov-int/scm_log.txt && cat /home/travis/build/mariusor/mpris-scrobbler/cov-int/scm_log.txt
- test -f /home/travis/build/mariusor/mpris-scrobbler/tests/build/meson-logs/testlog-valgrind.txt && cat /home/travis/build/mariusor/mpris-scrobbler/tests/build/meson-logs/testlog-valgrind.txt
env:
global:
secure: Yat5EL8wnIGlwvbsDDLx/U6xWHYCGWf4B1Oup+ESDBPlW11MbVB1duHBh3MCkHJAEC4BLnMzJoSaV6PhEyjzNugZ30XOf94aLHQCypM88s5vMB3tet5rPWjNNoaFiLcloqE11Xa2aEWSyqJe4LvXs7hJpxI0kT2rt2uVyOrTLRnXlSgRGvg5MFLDYLlHbCE/9KJzjPjQVdwdG1bRsPZCA/FG+XpFbL6QXvvGcYp+ZiEolZdonAvV6aA7aAIOkBkUwIlBvjz9qN368khq/tDSovoFyOBIqWnIECT1tevhQThv/iUMF2sCQWBICUqanwNhrmqSUp99IdMBZscB6l5H5rMfh67dzSab1EWRLwF7gmgsCKgxNLnLrCTg0vp+03VgRsz48v4blZMU1ucZWMNT98Rx1dobu9q71YF2/vDKHKXktiOWdiFCSeNFxXhgrpVGFOo781KJNiRf9B3ZtgmWMPeCe4tcmYtoF/tNQkI0KsHfdaXIIGJoAafUmTZF3u5uO3Msyf1NqvcsV/Rq6t1tw1y9OvB6Dus/iN/DZVh/gelq0dB1dfud5sCczd4SzddwLoULN1iXczClvRfU6nu1flHm7NzTcn6aQk7yJA10HyWSEgRaeBYTzCED2Qi5+fWmEG2gJMk8fhftBEqEa32OsAE6N+Vg9arnll0+3fZuUUM=
notifications:
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MGxwYm0lM0FtYXRyaXgub3JnLyUyMWlSckNJUHVyU0tDcHhTdWl3SCUzQW1hdHJpeC5vcmc"
on_success: change
on_failure: always
on_start: never
addons:
apt:
sources:
- sourceline: ppa:saiarcot895/chromium-dev
- sourceline: ppa:ubuntu-toolchain-r/test
packages:
- gcc-7
- gcc-8
- dbus
- libdbus-1-dev
- libjson-c2
- libjson-c-dev
- curl
- libevent-dev
- python3-pip
- ninja-build
- valgrind
coverity_scan:
project:
name: mariusor/mpris-scrobbler
version: git
description: Build submitted via Travis CI
notification_email: [email protected]
build_command_prepend: export CC=clang; meson --buildtype=debugoptimized -Dversion=coverity-test --unity on cov-build/
build_command: ninja -C cov-build/
branch_pattern: coverity