-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
117 lines (117 loc) · 5.7 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Deprecated, see .github/workflows/* instead!
# force run: 49
dist: xenial
language: python
python:
- "2.7"
# - "3.3"
# - "3.4"
# - "3.5"
- "3.6"
before_install:
- echo "+++ hosts orig +++"
- cat /etc/hosts
- echo "--- hosts orig ---"
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
- sudo sh -c 'echo >> /etc/hosts; grep "^127.0.0.1" /etc/hosts | sed "s|^127.0.0.1|::1|g" >> /etc/hosts'
- echo "+++ hosts patched +++"
- cat /etc/hosts
- echo "--- hosts patched ---"
- sudo -H DEBIAN_FRONTEND=noninteractive apt-get update
- sudo -H DEBIAN_FRONTEND=noninteractive apt-get install gpp
- sh -x ./install_depends/opensips.sh
script:
sh -x ./test_run.sh
env:
## 1. Tests with Sippy B2BUA
- MM_TYPE=b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=unix
- MM_TYPE=b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=cunix
- MM_TYPE=b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=tcp
- MM_TYPE=b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=tcp6
#
- MM_TYPE=b2bua MM_BRANCH=PRACK RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=b2bua MM_BRANCH=PRACK RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=b2bua MM_BRANCH=PRACK RTPP_BRANCH=master RTPPC_TYPE=unix
- MM_TYPE=b2bua MM_BRANCH=PRACK RTPP_BRANCH=master RTPPC_TYPE=cunix
- MM_TYPE=b2bua MM_BRANCH=PRACK RTPP_BRANCH=master RTPPC_TYPE=tcp
- MM_TYPE=b2bua MM_BRANCH=PRACK RTPP_BRANCH=master RTPPC_TYPE=tcp6
#
## 2. Tests with OpenSIPS
- MM_TYPE=opensips MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=unix
- MM_TYPE=opensips MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=tcp
- MM_TYPE=opensips MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=tcp6
#
- MM_TYPE=opensips MM_BRANCH=1.11 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=1.11 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=1.11 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=opensips MM_BRANCH=2.2.5 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=2.2.5 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=2.2.5 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=opensips MM_BRANCH=2.1 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=2.1 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=2.1 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=opensips MM_BRANCH=2.2 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=2.2 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=2.2 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=opensips MM_BRANCH=2.3 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=2.3 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=2.3 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=opensips MM_BRANCH=2.4 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=2.4 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=2.4 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=opensips MM_BRANCH=3.0 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=opensips MM_BRANCH=3.0 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=opensips MM_BRANCH=3.0 RTPP_BRANCH=master RTPPC_TYPE=unix
## 3. Tests with Kamailio
- MM_TYPE=kamailio MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=5.3 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=5.3 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=5.3 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=5.2 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=5.2 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=5.2 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=5.1 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=5.1 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=5.1 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=5.0 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=5.0 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=5.0 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=4.4 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=4.4 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=4.4 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=4.3 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=4.3 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=4.3 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=4.2 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=4.2 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=4.2 RTPP_BRANCH=master RTPPC_TYPE=unix
#
- MM_TYPE=kamailio MM_BRANCH=4.1 RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=kamailio MM_BRANCH=4.1 RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=kamailio MM_BRANCH=4.1 RTPP_BRANCH=master RTPPC_TYPE=unix
## 4. Tests with Go B2BUA
- MM_TYPE=go-b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp
- MM_TYPE=go-b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=udp6
- MM_TYPE=go-b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=unix
- MM_TYPE=go-b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=cunix
- MM_TYPE=go-b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=tcp
- MM_TYPE=go-b2bua MM_BRANCH=master RTPP_BRANCH=master RTPPC_TYPE=tcp6