]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - .travis.yml
redhat: use /sbin/nologin as a shell for lldpd
[thirdparty/lldpd.git] / .travis.yml
index 827a4d3cd1fed8b1e8436741cfdd17f2f1d9c6a2..7938fe4adf38a4848f518c0df4f7345d6681e13d 100644 (file)
@@ -1,22 +1,32 @@
 language: c
 os: linux
-compiler:
-  - clang
-  - gcc
+compiler: gcc
+sudo: require
 install:
   - ./.travis/install.sh
 script:
   - ./.travis/run.sh
 env:
-  - LLDPD_CONFIG_ARGS=""
-  - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
-  - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
-  - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json --disable-lldpmed --disable-dot1 --disable-dot3"
+  global:
+    - secure: "1qAHFxnz0gIxMMl9DAVzoPvVSpOacWT2G6ItcaoaVe1r4OANzpoHBlbyHX2I/1KFe+BohzjS9kXA4NrlPaL81qfvu9E6qZ9yai/+0gHdzZttB2uvdyFXyDVye3CHHDlYMfRRQf6C+eYs5CKeedWq9Q3arO1GyAWiL9RcW1466sg="
+    - COVERITY_SCAN_BRANCH_PATTERN=coverity_scan
+    - COVERITY_SCAN_NOTIFICATION_EMAIL="bernat@luffy.cx"
+    - RUN_COVERITY=0
+  matrix:
+    - LLDPD_CONFIG_ARGS=""
+    - LLDPD_CONFIG_ARGS="--with-embedded-libevent"
+    - LLDPD_CONFIG_ARGS="--disable-privsep --with-snmp"
+    - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json --disable-lldpmed --disable-dot1 --disable-dot3 --disable-custom --enable-oldies"
 matrix:
   include:
-    - os: osx
+    - os: linux
       compiler: clang
-      env: LLDPD_CONFIG_ARGS="--with-embedded-libevent"
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
     - os: osx
       compiler: clang
       env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
+    - os: linux
+      compiler: gcc
+      env:
+        - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
+        - RUN_COVERITY=1