"Fossies" - the Fresh Open Source Software Archive 
Member "ettercap-0.8.3.1/.travis.yml" (1 Aug 2020, 5368 Bytes) of package /linux/privat/ettercap-0.8.3.1.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for ".travis.yml":
0.8.3_vs_0.8.3.1.
1 # This program is free software; you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation; either version 2 of the License, or
4 # (at your option) any later version.
5 #
6 # This program is distributed in the hope that it will be useful,
7 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 # GNU General Public License for more details.
10 #
11 # You should have received a copy of the GNU General Public License
12 # along with this program; if not, write to the Free Software
13 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
14
15
16 # See YAML format https://en.wikipedia.org/wiki/YAML
17 # See Travis CI (Continuous Integration) https://docs.travis-ci.com/
18
19
20 language: c
21
22 branches:
23 except:
24 gh-pages
25
26 compiler:
27 - gcc
28 - clang
29
30 os:
31 - osx
32 - linux
33
34 addons:
35 apt:
36 packages:
37 - debhelper
38 - bison
39 - check
40 - cmake
41 - flex
42 - groff
43 - libbsd-dev
44 - libcurl4-openssl-dev
45 - libgtk2.0-dev
46 - libidn11-dev
47 - librtmp-dev
48 - libltdl-dev
49 - libluajit-5.1-dev
50 - libncurses5-dev
51 - libnet1-dev
52 - libpcap-dev
53 - libpcre3-dev
54 - libssl-dev
55 - libgtk-3-dev
56 - libgeoip-dev
57
58 env:
59 # Default build. Release.
60 - BUILD_ARGS=""
61 # Debug build
62 - BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug"
63 # Everything that's optional
64 - BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On"
65 # Everything that's optional, in Debug-mode
66 - BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DCMAKE_BUILD_TYPE=Debug"
67 # Everything that's optional, GTK2
68 - BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DGTK_BUILD_TYPE=GTK2"
69 # Everything that's optional, GTK2 in Debug-mode
70 - BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DGTK_BUILD_TYPE=GTK2 -DCMAKE_BUILD_TYPE=Debug"
71 # IPV6 + system libnet
72 - BUILD_ARGS="-DENABLE_IPV6=On -DBUNDLED_LIBNET=Off"
73 # IPV6 + bundled libnet
74 - BUILD_ARGS="-DENABLE_IPV6=On -DSYSTEM_LIBNET=Off"
75 # system curl, only
76 - BUILD_ARGS="-DBUNDLED_CURL=Off"
77 # bundled curl, only
78 - BUILD_ARGS="-DSYSTEM_CURL=Off"
79 # system check, only
80 - BUILD_ARGS="-DBUNDLED_LIBCHECK=Off"
81 # bundled check, only
82 - BUILD_ARGS="-DSYSTEM_LIBCHECK=Off"
83 # Lua + system luajit
84 - BUILD_ARGS="-DENABLE_LUA=On -DBUNDLED_LUAJIT=Off"
85 # Lua + bundled luajit
86 - BUILD_ARGS="-DENABLE_LUA=On -DSYSTEM_LUAJIT=Off"
87 # Disable Gtk
88 - BUILD_ARGS="-DENABLE_GTK=Off"
89 # Disable Curses
90 - BUILD_ARGS="-DENABLE_CURSES=Off"
91 # Disable Curses and Gtk
92 - BUILD_ARGS="-DENABLE_GTK=Off -DENABLE_CURSES=Off"
93
94 matrix:
95 allow_failures:
96 # since trusty required libraries are fine now, and travis moved to trusty some years ago.
97 # We expect IPV6 + system libnet + ubuntu to fail :(
98 #- os: linux
99 # env: BUILD_ARGS="-DENABLE_IPV6=On -DBUNDLED_LIBNET=Off"
100 # We expect system-only curl + ubuntu to fail :(
101 #- os: linux
102 # env: BUILD_ARGS="-DBUNDLED_CURL=Off"
103 exclude:
104 - os: osx
105 env: BUILD_ARGS=""
106 - os: osx
107 env: BUILD_ARGS="-DCMAKE_BUILD_TYPE=Debug"
108 - os: osx
109 compiler: gcc
110 env: BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On"
111 - os: osx
112 compiler: gcc
113 env: BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DCMAKE_BUILD_TYPE=Debug"
114 - os: osx
115 compiler: gcc
116 env: BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DGTK_BUILD_TYPE=GTK2"
117 - os: osx
118 compiler: gcc
119 env: BUILD_ARGS="-DENABLE_PDF_DOCS=On -DENABLE_IPV6=On -DENABLE_LUA=On -DGTK_BUILD_TYPE=GTK2 -DCMAKE_BUILD_TYPE=Debug"
120 - os: osx
121 env: BUILD_ARGS="-DENABLE_IPV6=On -DBUNDLED_LIBNET=Off"
122 - os: osx
123 env: BUILD_ARGS="-DENABLE_IPV6=On -DSYSTEM_LIBNET=Off"
124 - os: osx
125 env: BUILD_ARGS="-DBUNDLED_CURL=Off"
126 - os: osx
127 env: BUILD_ARGS="-DSYSTEM_CURL=Off"
128 - os: osx
129 env: BUILD_ARGS="-DBUNDLED_LIBCHECK=Off"
130 - os: osx
131 env: BUILD_ARGS="-DSYSTEM_LIBCHECK=Off"
132 - os: osx
133 env: BUILD_ARGS="-DENABLE_LUA=On -DBUNDLED_LUAJIT=Off"
134 - os: osx
135 env: BUILD_ARGS="-DENABLE_LUA=On -DSYSTEM_LUAJIT=Off"
136 - os: osx
137 env: BUILD_ARGS="-DENABLE_GTK=Off"
138 - os: osx
139 env: BUILD_ARGS="-DENABLE_CURSES=Off"
140 - os: osx
141 env: BUILD_ARGS="-DENABLE_GTK=Off -DENABLE_CURSES=Off"
142
143 before_install:
144 - if [ ${TRAVIS_OS_NAME} = "osx" ]; then brew update; brew install check curl; brew install groff gtk+ gtk+3; brew install libidn libnet; brew install luajit openssl pcre rtmpdump geoip; fi
145 before_script:
146 - if [ ${TRAVIS_OS_NAME} = "osx" ]; then export BUILD_ARGS="$BUILD_ARGS -DOPENSSL_ROOT_DIR=`brew --prefix openssl`";fi
147
148 script:
149 - if [[ "$CC" == "gcc" && "${BUILD_ARGS}" = "" ]]; then git clone https://github.com/richq/cmake-lint.git; cd cmake-lint; python setup.py install --user; cd -; ./misc/cmakelint.sh; fi
150 - mkdir build
151 - cd build
152 - cmake -DENABLE_TESTS=On $BUILD_ARGS ..
153 - make
154 - make test_verbose
155
156 notifications:
157 irc:
158 channels:
159 - "chat.freenode.net#ettercap-project"
160 template:
161 - "ettercap-build #%{build_number} (%{commit} by %{author}): %{message}"
162 - "See details at %{build_url}"
163 email: false