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