forked from syslog-ng/syslog-ng
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
32 lines (32 loc) · 1.57 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
language: c
install:
- sudo apt-get update -qq
- sudo apt-get install -qq curl
- curl http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_12.04/Release.key | sudo apt-key add -
- echo "deb http://download.opensuse.org/repositories/home:/laszlo_budai:/syslog-ng/xUbuntu_12.04 ./" | sudo tee --append /etc/apt/sources.list.d/syslog-ng-obs.list
- sudo apt-get update -qq
- sudo apt-get install -qq pkg-config flex bison xsltproc docbook-xsl libevtlog-dev libnet1-dev libglib2.0-dev libdbi0-dev libssl-dev libjson0-dev libwrap0-dev libpcre3-dev libcap-dev libesmtp-dev libgeoip-dev libhiredis-dev sqlite3 libdbd-sqlite3 libriemann-client-dev openjdk-7-jdk gradle-2.2.1 autoconf-archive
- sudo pip install -r requirements.txt
before_script:
- ./autogen.sh
- unset PYTHON_CFLAGS # HACK
- ./configure CFLAGS=-Werror --with-ivykis=internal --prefix=$HOME/install/syslog-ng --enable-pacct --enable-manpages --with-docbook=/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
- make -j || make V=1 --keep-going # to make error messages more readable on error
script:
- if [ "$CC" = "gcc" ]; then make distcheck V=1; else make func-test V=1; fi
compiler:
- gcc
- clang
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