forked from baresip/baresip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (28 loc) · 810 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
dist: xenial
language: c
os:
- linux
- osx
compiler:
- clang
- gcc
env:
- LIBRE=re LIBREM=rem
sudo: require
addons:
apt:
packages:
libssl-dev libgtk2.0-dev libsndfile1-dev libpulse-dev libavcodec-dev libopus-dev
homebrew:
packages:
- codec2
install:
- git clone https://github.com/creytiv/re.git
- git clone https://github.com/creytiv/rem.git
- curl -OL 'https://github.com/alfredh/pytools/raw/master/ccheck.py'
- for p in ${LIBRE} ${LIBREM}; do cd $p && sudo PATH="$PATH" make install && cd - && sudo rm -Rf $p; done
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ldconfig; fi
script:
- make V=1 CCACHE= EXTRA_CFLAGS=-Werror info test modules
- make clean; make CCACHE= STATIC=yes
- python2 ccheck.py