]> git.ipfire.org Git - thirdparty/lldpd.git/blob - .travis.yml
Merge pull request #391 from Polynomial-C/1.0.5-gentoo_seccomp
[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: ppc64el
26 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
27 - os: osx
28 compiler: clang
29 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
30 - os: osx
31 compiler: clang
32 env:
33 - MAKE_ARGS=""
34 - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
35 - os: osx
36 compiler: clang
37 if: tag =~ ^[0-9]
38 env:
39 - MAKE_ARGS=""
40 - LLDPD_UPLOAD=1
41 - LLDPD_CONFIG_ARGS="--prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent --without-snmp --without-xml"
42 deploy:
43 - provider: s3
44 skip_cleanup: true
45 local_dir: upload
46 bucket: lldpd-releases
47 acl: public_read
48 on:
49 all_branches: true
50 condition: "$LLDPD_UPLOAD = 1"