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