]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: reduce matrix by not compiling everything with clang
authorVincent Bernat <vincent@bernat.im>
Fri, 16 May 2014 08:40:11 +0000 (10:40 +0200)
committerVincent Bernat <vincent@bernat.im>
Fri, 16 May 2014 08:40:11 +0000 (10:40 +0200)
Only compile with all options when using clang.

.travis.yml

index 7241bbfe3a704d4a7117bed260c8c8f8b9a0b0d7..87ca3c66d66ab6905b47e02be9d6b32f45638dff 100644 (file)
@@ -1,8 +1,6 @@
 language: c
 os: linux
-compiler:
-  - clang
-  - gcc
+compiler: gcc
 install:
   - ./.travis/install.sh
 script:
@@ -17,6 +15,9 @@ env:
     - LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json --disable-lldpmed --disable-dot1 --disable-dot3"
 matrix:
   include:
+    - os: linux
+      compiler: clang
+      env: LLDPD_CONFIG_ARGS="--with-snmp --with-xml --with-json"
     - os: osx
       compiler: clang
       env: LLDPD_CONFIG_ARGS="--with-embedded-libevent"