From: Vincent Bernat Date: Fri, 16 May 2014 08:40:11 +0000 (+0200) Subject: travis: reduce matrix by not compiling everything with clang X-Git-Tag: 0.7.9~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d82e81816b5e8e3aa033e92b44d188684f1218ac;p=thirdparty%2Flldpd.git travis: reduce matrix by not compiling everything with clang Only compile with all options when using clang. --- diff --git a/.travis.yml b/.travis.yml index 7241bbfe..87ca3c66 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"