forked from acassen/keepalived
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (75 loc) · 4.16 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
git:
depth: 5
language: c
compiler: gcc
os: linux
dist: focal
addons:
apt:
packages:
- libsnmp-dev
- libxtables-dev
- libip4tc-dev
- libip6tc-dev
- libipset-dev
- libnfnetlink-dev
- libnl-3-dev
- libnl-genl-3-dev
- libnl-route-3-dev
- libssl-dev
- libmagic-dev
- libglib2.0-dev
- libjson-c-dev
- libpcre2-dev
- libmnl-dev
- libnftnl-dev
- libsystemd-dev
update: true
coverity_scan:
project:
name: "pqarmitage/keepalived"
description: "Keepalived: : Loadbalancing & High-Availability"
notification_email: quentin@armitage.org.uk
build_command_prepend: "./configure --enable-bfd --enable-snmp --enable-snmp-rfc --enable-dbus --enable-sha1 --enable-regex --enable-json --enable-debug --disable-eintr-debug --with-fixed-if-type=veth"
build_command: "make"
branch_pattern: coverity_scan
before_install:
- echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
install:
- autoreconf -W portability -visf
before_script:
- ./test/ci/setup.sh
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./test/ci/build.sh; fi
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "dTIix/hoX+ch5ZLHNl9Jxc80A6MTsd0T6GQX3Pe7/J3UOmwmOV1IZROJ/2skUAgvFb/H9HAfhKWy5ey2wRiIcQeWf2goUTFs6ub2X/pmtKKd2QfEMo3ho1I1Ln2+mvwlP6mQPkT7NGLNepM+wNU24YBd4us99zzyeOZyzgCjOEMfMqeKZOC3b/DIZXa8Bq/uQHa2CYumlaLzZgjfPD/3pd1xw6pGTa6t5FrB0TH3TYvBb7zbvYnODkNu3+xW/7qJ4AvGIrr3GBINqfmNYqYJ53uhwEI8jgDToTjg5m75NqO/FxCq7CjHUr0/TcKwjCUcHfjYITxBftQ4/VJ5P/0T1Jb3t9smusFB7tks45JHRAO/Oyo8CRbJsqMWY31ve+X/xe7ryV5LRJ0lbZFCyTO8H0cY069P0/lb2XsMBGv3bibgE5Zh47Jf0q3oCjUQOGvAKiPXPsS7BFuUY6X5g7jGds2PqUED28WuoPixYKTQq6E0+Z+h/8OTtCZ/aUeV+tw4aOR27wyyD/91K+ETpnxvKicEnyLVWfRSO1ejsNxzitMx1mW5nn08D3hb1+NcdZQRWYO8zZXVTWgA4PBS/pSVl8P97jdV2mnSX8shTHmMmzEnKjnDpgxNHu9Fq1HgNHhXX7zmYgwCV2elia2n8B6GujPJUjntZGZTmj3WOcTBe8E="
matrix:
- KEEPALIVED_CONFIG_ARGS=""
- KEEPALIVED_CONFIG_ARGS="--enable-snmp --enable-snmp-rfc --enable-json --enable-dbus --disable-checksum-compat --enable-bfd --enable-asserts --disable-systemd"
- KEEPALIVED_CONFIG_ARGS="--enable-sha1 --enable-dbus --enable-dbus-create-instance --disable-dynamic-linking --disable-fwmark --disable-lvs-syncd --enable-snmp-vrrp --enable-timer-check --disable-iptables --disable-nftables --disable-track-process"
- KEEPALIVED_CONFIG_ARGS="--enable-dynamic-linking --disable-vrrp-auth --enable-snmp-rfc --disable-snmp-reply-v3-for-v2 --disable-nftables"
- KEEPALIVED_CONFIG_ARGS="--disable-libnl --enable-snmp-checker"
- KEEPALIVED_CONFIG_ARGS="--enable-conversion-checks --enable-stacktrace --enable-mem-check --enable-mem-check-log --disable-lvs-64bit-stats --enable-snmp-rfcv2"
- KEEPALIVED_CONFIG_ARGS="--disable-lvs --enable-snmp-vrrp --enable-snmp-rfc --enable-json --enable-sha1 --enable-dbus --disable-routes --enable-bfd --disable-iptables --disable-linkbeat"
- KEEPALIVED_CONFIG_ARGS="--disable-vrrp --enable-snmp-checker --enable-sha1 --enable-regex"
- KEEPALIVED_CONFIG_ARGS="--disable-hardening --enable-dump-threads --enable-epoll-debug --enable-snmp-rfcv3 --enable-log-file --disable-libipset"
# We only need one for arm64 and arm64-graviton2. It isn't consistent, so use arm64.
jobs:
include:
# - name: Linux aarch64 - graviton2
# group: edge
# arch: arm64-graviton2
# virt: vm
# env: KEEPALIVED_CONFIG_ARGS="--enable-snmp --enable-snmp-rfc --enable-json --enable-dbus --enable-bfd --enable-sha1 --enable-regex"
- name: Linux aarch64
arch: arm64
env: KEEPALIVED_CONFIG_ARGS="--enable-snmp --enable-snmp-rfc --enable-json --enable-dbus --enable-bfd --enable-sha1 --enable-regex"
- name: Linux s390x (for big endian)
arch: s390x
env: KEEPALIVED_CONFIG_ARGS="--enable-snmp --enable-snmp-rfc --enable-json --enable-dbus --enable-bfd --enable-sha1 --enable-regex"
- name: Linux ppc64le
arch: ppc64le
env: KEEPALIVED_CONFIG_ARGS="--enable-snmp --enable-snmp-rfc --enable-json --enable-dbus --enable-bfd --enable-sha1 --enable-regex"