-
Notifications
You must be signed in to change notification settings - Fork 327
/
.travis.yml
151 lines (151 loc) · 5.33 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
language: c
script: make && make travis && ./sslsplit -V
matrix:
include:
- os: linux
compiler: gcc
env: SSL=ubuntu EVENT=ubuntu
before_install:
- sudo apt-get install -qq libssl-dev libevent-dev libnet1-dev libpcap-dev check
- os: linux
compiler: clang
env: SSL=ubuntu EVENT=ubuntu
before_install:
- sudo apt-get install -qq libssl-dev libevent-dev libnet1-dev libpcap-dev check
- os: linux
compiler: clang
env: FEATURES=-DWITHOUT_MIRROR SSL=ubuntu EVENT=ubuntu
before_install:
- sudo apt-get install -qq libssl-dev libevent-dev check
- os: linux
compiler: clang
env: SSL=openssl-0.9.8zh EVENT=libevent-2.0.22
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=openssl-1.0.0s EVENT=libevent-2.0.22
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=openssl-1.0.1u EVENT=libevent-2.0.22
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=openssl-1.0.2r EVENT=libevent-2.0.22
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=openssl-1.1.0j EVENT=libevent-2.1.11
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=openssl-1.1.1c EVENT=libevent-2.1.11
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=libressl-2.2.7 EVENT=libevent-2.0.22
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: linux
compiler: clang
env: SSL=libressl-2.7.4 EVENT=libevent-2.1.11
cache:
directories:
- $HOME/opt
before_install:
- sudo apt-get install -qq libnet1-dev libpcap-dev check
install:
- ./Mk/bin/install-opt.sh
before_script:
- export OPENSSL_BASE="$HOME/opt/$SSL"
- export LIBEVENT_BASE="$HOME/opt/$EVENT"
- export LD_LIBRARY_PATH="$HOME/opt/$SSL/lib":"$HOME/opt/$EVENT/lib"
- os: osx
env: SSL=homebrew EVENT=homebrew
cache:
directories:
- /usr/local/Cellar/openssl
- /usr/local/opt/openssl
- /usr/local/Cellar/libevent
- /usr/local/opt/libevent
- /usr/local/Cellar/libnet
- /usr/local/opt/libnet
- /usr/local/Cellar/libpcap
- /usr/local/opt/libpcap
- /usr/local/Cellar/check
- /usr/local/opt/check
before_install:
- test -d /usr/local/opt/openssl/lib || { rmdir /usr/local/opt/openssl; brew install openssl; }
- test -d /usr/local/opt/libevent/lib || { rmdir /usr/local/opt/libevent; brew install libevent; }
- test -d /usr/local/opt/libnet/lib || { rmdir /usr/local/opt/libnet; brew install libnet; }
- test -d /usr/local/opt/libpcap/lib || { rmdir /usr/local/opt/libpcap; brew install --build-from-source libpcap; }
- test -d /usr/local/opt/check/lib || { rmdir /usr/local/opt/check; brew install check; }