forked from Ettercap/ettercap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
57 lines (57 loc) · 1.95 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
language: c
branches:
except:
gh-pages
compiler:
- gcc
- clang
env:
# Default build. Release.
- BUILD_ARGS=""
# Debug build
- BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug"
# Everything that's optional
- BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On"
# Everything that's optional, in Debug-mode
- BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DCMAKE_BUILD_TYPE=Debug"
# IPV6 + system libnet
- BUILD_ARGS="-DENABLE_IPV6=On -DBUNDLED_LIBNET=Off"
# IPV6 + bundled libnet
- BUILD_ARGS="-DENABLE_IPV6=On -DSYSTEM_LIBNET=Off"
# system curl, only
- BUILD_ARGS="-DBUNDLED_CURL=Off"
# bundled curl, only
- BUILD_ARGS="-DSYSTEM_CURL=Off"
# system check, only
- BUILD_ARGS="-DBUNDLED_LIBCHECK=Off"
# bundled check, only
- BUILD_ARGS="-DSYSTEM_LIBCHECK=Off"
# Lua + system luajit
- BUILD_ARGS="-DENABLE_LUA=On -DBUNDLED_LUAJIT=Off"
# Lua + bundled luajit
- BUILD_ARGS="-DENABLE_LUA=On -DSYSTEM_LUAJIT=Off"
# Disable Gtk
- BUILD_ARGS="-DENABLE_GTK=Off"
# Disable Curses
- BUILD_ARGS="-DENABLE_CURSES=Off"
# Disable Curses and Gtk
- BUILD_ARGS="-DENABLE_GTK=Off -DENABLE_CURSES=Off"
matrix:
allow_failures:
# We expect IPV6 + system libnet + ubuntu to fail :(
- env: BUILD_ARGS="-DENABLE_IPV6=On -DBUNDLED_LIBNET=Off"
# We expect system-only curl + ubuntu to fail :(
- env: BUILD_ARGS="-DBUNDLED_CURL=Off"
before_install:
- sudo apt-get update -qq
- sudo apt-get install debhelper bison check cmake flex ghostscript libbsd-dev libcurl4-openssl-dev libgtk2.0-dev libltdl-dev libluajit-5.1-dev libncurses5-dev libnet1-dev libpcap-dev libpcre3-dev libssl-dev
script:
- mkdir build && cd build && cmake -DENABLE_TESTS=On $BUILD_ARGS .. && make && make test_verbose
notifications:
irc:
channels:
- "chat.freenode.net#ettercap-project"
template:
- "ettercap-build #%{build_number} (%{commit} by %{author}): %{message}"
- "See details at %{build_url}"
email: false