forked from baresip/re
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (67 loc) · 2.07 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
66
67
68
69
70
71
72
73
74
language: c
os:
- linux
- osx
compiler:
- clang
- gcc
jobs:
include:
- os: linux
stage: ccheck
addons:
apt:
update: false
script:
- wget "https://raw.githubusercontent.com/baresip/baresip/master/test/ccheck.py"
- python3 ccheck.py
- name: OpenSSL 1.0.2g
os: linux
dist: xenial
stage: openssl
- name: OpenSSL 1.1.1f
os: linux
dist: focal
stage: openssl
- name: macOS 10.15.5
os: osx
osx_image: xcode12.0
stage: openssl
- name: LibreSSL
os: linux
dist: xenial
script:
- wget "https://github.com/baresip/ci/releases/download/v0.1/assets.tar.gz"
- tar -xf assets.tar.gz
- make EXTRA_CFLAGS="-Iassets/libressl/include -Werror" EXTRA_LFLAGS="-Lassets/libressl" CCACHE=;
stage: openssl
- name: OpenSSL 1.1.1g no-deprecated
os: linux
dist: xenial
script:
- wget "https://github.com/baresip/ci/releases/download/v0.1/assets.tar.gz"
- tar -xf assets.tar.gz
- make EXTRA_CFLAGS="-Iassets/openssl/include -Werror" EXTRA_LFLAGS="-Lassets/openssl" CCACHE=;
stage: openssl
stages:
- ccheck
- test
- openssl
addons:
apt:
packages:
libssl-dev
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make EXTRA_CFLAGS=-Werror CCACHE=;
fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
cd ..; rm re/libre.so;
git clone https://github.com/creytiv/rem;
make -C rem librem.a;
git clone https://github.com/baresip/retest.git;
cd retest && make STATIC=1 LIBRE_SO=../re && ./retest -r;
fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
make EXTRA_CFLAGS="-I/usr/local/opt/openssl/include -Werror" EXTRA_LFLAGS="-L/usr/local/opt/openssl/lib" CCACHE=;
fi