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