]>
Commit | Line | Data |
---|---|---|
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: | |
31 | - MAKE_ARGS="" | |
32 | - LLDPD_CONFIG_ARGS="--with-embedded-libevent" | |
33 | - os: osx | |
34 | compiler: clang | |
35 | if: tag =~ ^[0-9] | |
36 | env: | |
37 | - MAKE_ARGS="" | |
38 | - LLDPD_UPLOAD=1 | |
39 | - LLDPD_CONFIG_ARGS="--prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent --without-snmp --without-xml" | |
40 | deploy: | |
41 | - provider: s3 | |
42 | skip_cleanup: true | |
43 | local_dir: upload | |
44 | bucket: lldpd-releases | |
45 | acl: public_read | |
46 | on: | |
47 | all_branches: true | |
48 | condition: "$LLDPD_UPLOAD = 1" |