forked from syslog-ng/syslog-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
92 lines (88 loc) · 2.44 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
language: c
os: linux
cache:
apt: true
matrix:
include:
- env: B=cmake-arm
compiler: gcc
sudo: required
arch: arm64
addons:
apt:
packages:
- autoconf-archive
- docbook-xsl
- flex
- gradle
- libcap-dev
- libcurl4-openssl-dev
- libdbd-sqlite3
- libdbi0-dev
- libesmtp-dev
- libglib2.0-dev
- libhiredis-dev
- libivykis-dev
- librabbitmq-dev
- libmongoc-dev
- libjson-c-dev
- m4
- python-dev
- python-pip
- python-setuptools
- libnet1-dev
- libriemann-client-dev
- librdkafka-dev
- libwrap0-dev
- pkg-config
- sqlite3
- xsltproc
- libmaxminddb-dev
- libxml2-utils
- doxygen
- libsnmp-dev
- autopoint
install:
- python2 -m pip install --user --cache-dir=$PWD/pip-cache -r requirements.txt
- python2 -m pip list
script:
- set -e
- git clone https://github.com/Snaipe/Criterion.git -b v2.3.3
- cd Criterion
- git submodule update --init
- cmake .
- make all
- sudo make install
- cd ..
# we are using 3.5.1 because we want to test ubuntu-focal
# compatibility just in case we migrate away from ubuntu-focal in
# our devshell images (which is tested by our github actions)
- wget https://ftp.gnu.org/gnu/bison/bison-3.5.1.tar.gz
- tar xvf bison-3.5.1.tar.gz
- cd bison-3.5.1
- ./configure
- make all
- sudo make install
- cd ..
- mkdir build
- cd build
- cmake
-DCMAKE_C_FLAGS=-Werror
-DPYTHON_VERSION=2
-DCMAKE_INSTALL_PREFIX=$HOME/install/syslog-ng
..
- make --keep-going -j $(nproc) all install
- ctest -j $(nproc) --output-on-failure
branches:
except:
- /wip/
notifications:
irc:
channels:
- "irc.freenode.org#balabit"
webhooks:
urls:
- https://webhooks.gitter.im/e/1c6e3a6f10348748585a
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: true # default: false