]> git.ipfire.org Git - thirdparty/lldpd.git/blob - .travis.yml
build: let configure tell us if we have address sanitizer
[thirdparty/lldpd.git] / .travis.yml
1 language: c
2 os: linux
3 dist: trusty
4 compiler: gcc
5 sudo: require
6 install:
7 - ./tests/ci/install.sh
8 script:
9 - ./tests/ci/run.sh
10 env:
11 global:
12 - secure: "1qAHFxnz0gIxMMl9DAVzoPvVSpOacWT2G6ItcaoaVe1r4OANzpoHBlbyHX2I/1KFe+BohzjS9kXA4NrlPaL81qfvu9E6qZ9yai/+0gHdzZttB2uvdyFXyDVye3CHHDlYMfRRQf6C+eYs5CKeedWq9Q3arO1GyAWiL9RcW1466sg="
13 - COVERITY_SCAN_BRANCH_PATTERN=coverity_scan
14 - COVERITY_SCAN_NOTIFICATION_EMAIL="bernat@luffy.cx"
15 - RUN_COVERITY=0
16 matrix:
17 - LLDPD_CONFIG_ARGS=""
18 - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
19 - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
20 - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom"
21 - LLDPD_CONFIG_ARGS="--enable-oldies"
22 matrix:
23 include:
24 - os: linux
25 compiler: clang
26 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
27 - os: osx
28 compiler: clang
29 env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
30 - os: linux
31 compiler: gcc
32 env:
33 - RUN_COVERITY=1
34 - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"