]>
Commit | Line | Data |
---|---|---|
81c693e6 | 1 | language: c |
45bf176b | 2 | os: linux |
60c22a3c | 3 | dist: bionic |
d82e8181 | 4 | compiler: gcc |
65244082 | 5 | sudo: require |
998c1acb | 6 | install: |
8bb212d9 | 7 | - ./tests/ci/install.sh |
ed9e6f41 | 8 | script: |
8bb212d9 | 9 | - ./tests/ci/run.sh |
fccbb8cb | 10 | env: |
b2c51a1d VB |
11 | matrix: |
12 | - LLDPD_CONFIG_ARGS="" | |
13 | - LLDPD_CONFIG_ARGS="--with-embedded-libevent" | |
da957637 | 14 | - LLDPD_CONFIG_ARGS="--disable-shared --enable-static" |
b2c51a1d | 15 | - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp" |
d3ee4b62 | 16 | - LLDPD_CONFIG_ARGS="--with-snmp --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom" |
06494775 | 17 | - LLDPD_CONFIG_ARGS="--enable-oldies" |
99eb22eb | 18 | - LLDPD_CONFIG_ARGS="--with-seccomp" |
45bf176b VB |
19 | matrix: |
20 | include: | |
d82e8181 VB |
21 | - os: linux |
22 | compiler: clang | |
06987a24 | 23 | env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml" |
60c22a3c VB |
24 | - os: linux |
25 | arch: ppc64el | |
26 | env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml" | |
047ab670 VB |
27 | - os: osx |
28 | compiler: clang | |
06987a24 | 29 | env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml" |
e7218625 VB |
30 | - os: osx |
31 | compiler: clang | |
e22747ce VB |
32 | env: |
33 | - MAKE_ARGS="" | |
34 | - LLDPD_CONFIG_ARGS="--with-embedded-libevent" | |
b941efa6 VB |
35 | - os: osx |
36 | compiler: clang | |
37 | if: tag =~ ^[0-9] | |
38 | env: | |
e22747ce | 39 | - MAKE_ARGS="" |
b941efa6 VB |
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: | |
0f552e2b | 49 | all_branches: true |
b941efa6 | 50 | condition: "$LLDPD_UPLOAD = 1" |