-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
51 lines (51 loc) · 1.41 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language: c
os: linux
dist: bionic
compiler: gcc
sudo: require
install:
- ./tests/ci/install.sh
script:
- ./tests/ci/run.sh
env:
matrix:
- LLDPD_CONFIG_ARGS=""
- LLDPD_CONFIG_ARGS="--with-embedded-libevent"
- LLDPD_CONFIG_ARGS="--disable-shared --enable-static"
- LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
- LLDPD_CONFIG_ARGS="--with-snmp --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
- LLDPD_CONFIG_ARGS="--enable-oldies"
- LLDPD_CONFIG_ARGS="--enable-dtrace"
- LLDPD_CONFIG_ARGS="--with-seccomp"
matrix:
include:
- os: linux
compiler: clang
env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
- os: linux
arch: ppc64el
env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
- os: osx
compiler: clang
env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml"
- os: osx
compiler: clang
env:
- MAKE_ARGS=""
- LLDPD_CONFIG_ARGS="--with-embedded-libevent"
- os: osx
compiler: clang
if: tag =~ ^[0-9]
env:
- MAKE_ARGS=""
- LLDPD_UPLOAD=1
- LLDPD_CONFIG_ARGS="--prefix=/usr/local --localstatedir=/var --sysconfdir=/private/etc --with-embedded-libevent --without-snmp --without-xml"
deploy:
- provider: s3
skip_cleanup: true
local_dir: upload
bucket: lldpd-releases
acl: public_read
on:
all_branches: true
condition: "$LLDPD_UPLOAD = 1"