]> git.ipfire.org Git - thirdparty/lldpd.git/blame - .travis.yml
tests: fix skip instruction
[thirdparty/lldpd.git] / .travis.yml
CommitLineData
81c693e6 1language: c
3db34234 2group: deprecated-2017Q3
45bf176b 3os: linux
62f9ab5e 4dist: trusty
d82e8181 5compiler: gcc
65244082 6sudo: require
998c1acb 7install:
8bb212d9 8 - ./tests/ci/install.sh
ed9e6f41 9script:
8bb212d9 10 - ./tests/ci/run.sh
fccbb8cb 11env:
b2c51a1d
VB
12 matrix:
13 - LLDPD_CONFIG_ARGS=""
14 - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
da957637 15 - LLDPD_CONFIG_ARGS="--disable-shared --enable-static"
b2c51a1d 16 - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
d3ee4b62 17 - LLDPD_CONFIG_ARGS="--with-snmp --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
06494775 18 - LLDPD_CONFIG_ARGS="--enable-oldies"
99eb22eb 19 - LLDPD_CONFIG_ARGS="--with-seccomp"
45bf176b
VB
20matrix:
21 include:
d82e8181
VB
22 - os: linux
23 compiler: clang
06987a24 24 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
047ab670
VB
25 - os: osx
26 compiler: clang
06987a24 27 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
e7218625
VB
28 - os: osx
29 compiler: clang
e22747ce
VB
30 env:
31 - MAKE_ARGS=""
32 - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
b941efa6
VB
33 - os: osx
34 compiler: clang
35 if: tag =~ ^[0-9]
36 env:
e22747ce 37 - MAKE_ARGS=""
b941efa6
VB
38 - LLDPD_UPLOAD=1
39 - LLDPD_CONFIG_ARGS="--prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent --without-snmp --without-xml"
40deploy:
41 - provider: s3
42 skip_cleanup: true
43 local_dir: upload
44 bucket: lldpd-releases
45 acl: public_read
46 on:
0f552e2b 47 all_branches: true
b941efa6 48 condition: "$LLDPD_UPLOAD = 1"