]> git.ipfire.org Git - thirdparty/lldpd.git/blob - .travis.yml
interfaces: fix for limitation of 10 VLANs for LLDP .1q feature
[thirdparty/lldpd.git] / .travis.yml
1 language: c
2 os: linux
3 dist: bionic
4 compiler: gcc
5 sudo: require
6 install:
7 - ./tests/ci/install.sh
8 script:
9 - ./tests/ci/run.sh
10 env:
11 matrix:
12 - LLDPD_CONFIG_ARGS=""
13 - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
14 - LLDPD_CONFIG_ARGS="--disable-shared --enable-static"
15 - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
16 - LLDPD_CONFIG_ARGS="--with-snmp --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
17 - LLDPD_CONFIG_ARGS="--enable-oldies"
18 - LLDPD_CONFIG_ARGS="--with-seccomp"
19 matrix:
20 include:
21 - os: linux
22 compiler: clang
23 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
24 - os: linux
25 arch: arm64
26 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
27 - os: linux
28 arch: ppc64el
29 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
30 - os: osx
31 compiler: clang
32 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
33 - os: osx
34 compiler: clang
35 env:
36 - MAKE_ARGS=""
37 - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
38 - os: osx
39 compiler: clang
40 if: tag =~ ^[0-9]
41 env:
42 - MAKE_ARGS=""
43 - LLDPD_UPLOAD=1
44 - LLDPD_CONFIG_ARGS="--prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent --without-snmp --without-xml"
45 deploy:
46 - provider: s3
47 skip_cleanup: true
48 local_dir: upload
49 bucket: lldpd-releases
50 acl: public_read
51 on:
52 all_branches: true
53 condition: "$LLDPD_UPLOAD = 1"