This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (29 loc) · 1.63 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
sudo: required
dist: bionic
language: c
addons:
apt:
update: true
packages: [ autoconf, automake, wget, unzip, gettext, libxml2-dev, libssl-dev, libcurl4-openssl-dev, libsnmp-dev, libevent-dev, libsqlite3-dev, libpcre2-dev, libssh2-1-dev, libiksemel-dev, libmariadbclient-dev-compat, libopenipmi-dev, unixodbc-dev, libldap2-dev ]
matrix:
include:
- os: linux
if: type != cron
compiler: gcc
script:
- |
./bootstrap.sh
./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-jabber --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql > build.log 2>&1 || (cat build.log && exit 1)
make
make dbschema
make gettext
make dist
- os: linux
if: type == cron
compiler: gcc
env: COVERITY_SCAN_PROJECT_NAME="zabbix_34x_next" COVERITY_SCAN_BRANCH_PATTERN="*" COVERITY_SCAN_NOTIFICATION_EMAIL="sleuthhound@gmail.com" COVERITY_SCAN_BUILD_COMMAND_PREPEND="./bootstrap.sh && ./configure --with-libpthread --with-libpcre --with-libcurl --with-libxml2 --with-net-snmp --with-openssl --enable-ipv6 --with-ssh2 --with-jabber --with-openipmi --with-unixodbc --with-ldap --enable-server --enable-proxy --enable-agent --enable-java --sysconfdir=/etc/zabbix --with-mysql" COVERITY_SCAN_BUILD_COMMAND="make"
script:
- |
if [ ! -z ${COVERITY_SCAN_TOKEN+x} ]; then
curl -s "https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh" | bash || true
fi