-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (41 loc) · 978 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
41
language: c
os: linux
dist: focal
script: make tests
addons:
apt:
packages:
- libpulse-dev
- libavcodec-dev
- libavformat-dev
- libswresample-dev
- pulseaudio
jobs:
include:
- compiler: gcc
arch: amd64
env:
- COMPILER=gcc
- COVERAGE=${COVERALLS_REPO_TOKEN:+Y}
- compiler: clang
arch: amd64
env:
- COMPILER=clang
- compiler: gcc
arch: arm64
env:
- COMPILER=gcc
env:
global:
- CFLAGS="$CFLAGS${CFLAGS:+ }-Werror"
- CXXFLAGS="$CXXFLAGS${CXXFLAGS:+ }-Werror"
before_install:
- export CXX="$COMPILER"
- export CC="$COMPILER"
- ${CXX} --version
- test "$COVERAGE" = "Y" && pip install --user cpp-coveralls || echo "Coveralls reporting skipped"
before_script:
- pulseaudio --version
- dbus-launch pulseaudio --start || pulseaudio --start
after_success:
- test "$COVERAGE" = "Y" && coveralls --exclude /usr/include/ || echo "Coveralls reporting skipped"